emacs-devel
[Top][All Lists]
Advanced

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

Re: Simple isearch concerns


From: Juri Linkov
Subject: Re: Simple isearch concerns
Date: Fri, 09 Apr 2021 11:37:17 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>>> +@vindex isearch-allow-match-scroll
>>
>> IMO, the name of this variable (and the corresponding property) is not
>> the best one.  "Scroll" is the wrong term here, and "match-scroll"
>> doesn't help understanding what it does.  How about
>> isearch-allow-motion-commands instead?
>
> I tend to agree with you, but I'm not sure.  There is already an
> 'isearch-allow-scroll' and its corresponding 'isearch-scroll' property,
> which changes the behavior of motion commands: it becomes possible to
> scroll (recenter, scroll-up, scroll-down, ...) but without changing the
> current match.  This patch does something related, but different: it
> becomes possible to scroll among the matches.

Indeed, the name is not worse than 'isearch-allow-scroll'.  Maybe it's possible
to find a better name?  What about 'isearch-allow-repeat' with the meaning that
it repeats the search after moving point.



reply via email to

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