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


Message #89 received at 7700 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: 7700 <at> debbugs.gnu.org, Lennart Borgman <lennart.borgman <at> gmail.com>
Subject: Re: bug#7700: 24.0.50; C-y binding withing Isearch mode
Date: Sat, 25 Dec 2010 14:52:49 -0500
>>>> 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.

> The only drawback I can see is to give up the possibility of exit
> Isearch mode with a movement command, but IMO, this loss is
> insignificant compared with the benefits.

Depends significantly on your usage pattern.  I know such a change to
the default behavior would cause screams and never ending arguments.
So we'd fist have to see this change in action for a while to
demonstrate that the benefit is worth the cost of transitioning.


        Stefan




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.