GNU bug report logs - #7700
24.0.50; C-y binding withing Isearch mode

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Tue, 21 Dec 2010 19:01:02 UTC

Severity: minor

Merged with 8183

Found in version 24.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 7700 <at> debbugs.gnu.org, Dani Moncayo <dmoncayo <at> gmail.com>
Subject: bug#7700: 24.0.50; C-y binding withing Isearch mode
Date: Sat, 25 Dec 2010 21:09:28 +0100
On Sat, Dec 25, 2010 at 8:52 PM, Stefan Monnier
<monnier <at> iro.umontreal.ca> wrote:
>>>>> I suggest instead that any standard forward movement command while in
>>>>> isearch forward mode should select the text to grab WITHOUT any
>>>>> prefix key.
>>> That might be a good choice, but:
>>> - we lack experimental evidence for that.
>>> - it would probably be too big a change to have that as a default behavior.
>> IMHO, that proposal would make text grabbing in Isearch (a) More
>> powerful (you could use every movement command to grab text), and (b)
>> easier/simpler (you already know the movement commands).
>
> Compared to the use of a prefix, there is an important difference: the
> prefix tells isearch that the next command is a movement command, so it
> can be used with *any* command (and can lead to surprises if the command
> is not a movement command), whereas in the absence of a prefix, isearch
> would need to know which commands are "movement commands", and this
> knowledge would always tend to be partial, so it will fail with
> some commands.

Forgot to mention that. There is same problem with extending the
selected region. cua-mode solves this by attaching properties to
movement commands. I think that is a good and flexible solution
(though there could perhaps be custom support for it etc).




This bug report was last modified 14 years and 9 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.