emacs-devel
[Top][All Lists]
Advanced

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

Re: [External] : Re: Simple isearch concerns


From: Juri Linkov
Subject: Re: [External] : Re: Simple isearch concerns
Date: Wed, 07 Apr 2021 19:30:12 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>>> Should then forward-char be remapped to isearch-repeat to go to the next
>>> match?  Then also remap next-line to go to the next line with
>>> matches, etc.
>>
>> Please don't, these commands should exit the search.
>
> Yes, I also think these commands should exit the search by default. Users
> who would like to have that behavior can do so easily with my patch:
>
> (put 'next-line 'isearch-match-scroll 'isearch-repeat-forward)

Then 'isearch-match-scroll' has nothing to do with scrolling.
It's just a duplicate way to remap commands, i.e. this provides
exactly the same result:

  (define-key isearch-mode-map [remap next-line] 'isearch-repeat-forward)



reply via email to

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