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 #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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 1 (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 2 (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.