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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Dani Moncayo <dmoncayo <at> gmail.com>
Subject: bug#7700: closed (Re: bug#7700: 24.0.50; C-y binding in Isearch mode)
Date: Mon, 16 May 2011 15:44:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#7700: 24.0.50; C-y binding withing Isearch mode

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 7700 <at> debbugs.gnu.org.

-- 
7700: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7700
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: 7700-close <at> debbugs.gnu.org
Subject: Re: bug#7700: 24.0.50; C-y binding in Isearch mode
Date: Mon, 16 May 2011 12:42:54 -0300
> I think this bug can be closed, because with the current trunk, I
> already see the behavior requested in the OP, i.e. (within Isearch):

Thanks, done,


        Stefan

[Message part 3 (message/rfc822, inline)]
From: Dani Moncayo <dmoncayo <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; C-y binding withing Isearch mode
Date: Tue, 21 Dec 2010 20:06:16 +0100
[Message part 4 (text/plain, inline)]
Severity: wishlist

Two common task performed when editing with Emacs are (a) Visit some file
and (b) search for some text.

In my case it often happens that the path of the file to visit or the text
to search for is previously copied to the kill ring (or system clipboard),
so that I, intuitively, yank it with C-y.

This works OK when the operation at hand is to visit a file, but it doesn't
in the search case, because in Isearch mode, C-y is bounded to another
command: One that takes the text from point to the end of line as search
text (which is of little use, IMO).

Personally, I find this behavior inconsistent/annoying: I would expect that
C-y within Isearch add text X to the search text, where X is the text that
would be yanked in normal editing.

One solution to fix this would be to swap the bindings of C-y and M-y
withing Isearch mode. Of course I can do that in my .emacs, but if you agree
with my reasoning, it could be make the default.

What do you think?


-- 
Dani Moncayo
[Message part 5 (text/html, inline)]

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.