emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Isearch: yanking before point


From: Stefan Reichör
Subject: Re: [PATCH] Isearch: yanking before point
Date: Thu, 23 Aug 2007 07:56:43 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> I'd suggest M-w for `isearch-yank-word-before-point' and M-l for
>> `isearch-yank-line-before-point'.  That reminds me of scrolling up and
>> down, where the C-binding moves forward and the M-binding backward.
>
> Could we just add a single binding for "yank as follows" which would put
> isearch in a submode where you can move with the usual movement commands and
> that corresponding text would thus be yanked?
>
> This way we only need to use a single key-binding and we get to reuse all
> the old movement key bindings we all know and love without having to learn
> "oh right in isearch, to move forward one word I need C-w rather than M-f
> and to move back one word is M-w rather than M-b, and to move one line is 
> M-l rather than C-p and there's no equivalent to C-M-f and ..."

That is a GREAT idea!

That way I would have to remember the key to enter the intuitive
isearch selection mode. Then I could use the standard movement
bindings. Now I have to remember a different set of bindings for
isearch movement.

We could even provide a way to make this behaviour the default for
users that prefer a single set of movement bindings.


Stefan.





reply via email to

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