help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Yanking in isearch mode


From: Joseph Brenner
Subject: Re: Yanking in isearch mode
Date: Wed, 08 Dec 2010 15:11:53 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Ken Hori <fplemma@gmail.com> writes:

>> Doesn't anyone else thing it's strange to change the keybinding (C-y /
>> M-y) for something so basic and frequently used?
>
> Yes, very strange indeed.

True.  It brings to mind the days when doing a Backspace invoked "help".

> I asked my colleagues around today, and guess what: No one found the
> default behavior of \C-y (yank-line) in isearch useful. It is
> counter-intuitive, inconsistent with the global keymap, and confusing
> to the beginners. I happen to share the same opinion and find it
> unworthy to steal \C-y for something most, if not all, find needless.
> I am all for opting it out of isearch or doing the C-y <-> M-y switch.

> Until it's done, you can override it with:
>
> (define-key isearch-mode-map "\C-y" 'isearch-yank-kill)

Thanks.  I've been using emacs for decades and that (obviously sensible)
customization had never occured to me.

I've been using "M-x search-forward" or "M-x re-search-forward" when
I felt the need to yank into a search.


reply via email to

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