emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: isearch region or thing at point.


From: Juri Linkov
Subject: Re: isearch region or thing at point.
Date: Wed, 01 May 2019 23:57:58 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

> 3) What do you think is the right behavior in case isearch-string is not
> empty?
>
> Suppose you marked a region and then type: C-s letter, the cursor will
> move to letter, but the actual active region will be from mark->letter.
>
> Because in that case the point has already moved from it's initial
> position, so the region is not the same than when it started.
>
> 1) Should the command do nothing in that case?
>
> 2) Or it must yank what used to be the initial region??
>
> 3) Something else?

This is an interesting question.  Perhaps it should replace the current
search string with the text from the region.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]