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: Ergus
Subject: Re: [External] : Re: Simple isearch concerns
Date: Tue, 6 Apr 2021 00:37:43 +0200

On Tue, Apr 06, 2021 at 12:35:52AM +0300, Juri Linkov wrote:
As you see from the discussion, adding a defcustom makes little sense,
because this feature might be needed only occasionally, so better
to be bound to a special key, e.g. C-RET to exit and move to other-end,
S-RET to exit and mark the found string as a region.

In particular, I'm not in favor of adding keys for
exiting + performing an action.

I meant that these keys can easily be bound by users.

Better to add keys for toggling some search behavior, and leave
exiting keys as they are.

In bug#39512 we already developed a command bound to 'M-s M-.'
to pull the active region to the search string.

Now we could add a command that sets the region from the search string.

Is it possible to make this in a way that some commands could be bound
in a way that the prefix M-s won't be needed sometimes when isearch is
active? (I mean a custom option of course)

That could be more handy for some users. Because `M-s C-RET` is not
faster than `C-r RET`.

The same applies to `M-s M-<` and `M-s M->`. And maybe for some future
commands like the ones Gregory mentioned some days ago like go to
candidate outside visible the page and so on in M-v and C-v.

Maybe we can add a map with some extra commands and then bind the map
in the isearch-mode-map with and without prefix conditionally? Does it
makes sense?.


reply via email to

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