all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ken Hori <fplemma@gmail.com>
To: Help-gnu-emacs@gnu.org
Subject: Re: Yanking in isearch mode
Date: Wed, 2 Jun 2010 22:29:16 -0700	[thread overview]
Message-ID: <AANLkTikqE3PSI9MWLjzNF9WblKxq3EYKvKlo2hE3bDY_@mail.gmail.com> (raw)
In-Reply-To: <83typlfd0y.fsf@garydjones.name>

> 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. 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)
;; If you like more:
;(define-key isearch-mode-map "\C-p" 'isearch-repeat-backward)
;(define-key isearch-mode-map "\C-n" 'isearch-repeat-forward)
;(define-key isearch-mode-map "\C-h" 'isearch-del-char)


On Wed, Jun 2, 2010 at 12:30 PM, Gary <help-gnu-emacs@garydjones.name> wrote:
> Stefan Kangas wrote:
>
>> Bastian Beischer writes:
>>
>>> I don't know, but I personally dislike that keybinding because I often have
>>> terms I'd like to search for in the kill-ring and cannot yank them.
>>
>> Try isearch-yank-kill, bound to M-y by default.
>
> Doesn't anyone else thing it's strange to change the keybinding (C-y /
> M-y) for something so basic and frequently used?
>
> --
> Gary
>
>



  reply	other threads:[~2010-06-03  5:29 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-01  6:44 Yanking in isearch mode Gary .
2010-06-01  7:11 ` Bastian Beischer
2010-06-01  8:34   ` Gary .
2010-06-01  9:47   ` Stefan Kangas
2010-06-02 19:30     ` Gary
2010-06-03  5:29       ` Ken Hori [this message]
     [not found]       ` <mailman.2.1275542972.10094.help-gnu-emacs@gnu.org>
2010-06-04 22:21         ` Joseph Brenner
2010-06-05  2:14           ` Evans Winner
2010-06-05 14:04           ` Stefan Monnier
2010-06-01 10:58 ` Bernardo
2010-06-01 14:38   ` Suvayu Ali
2010-06-01 14:59     ` Drew Adams
2010-06-03  8:41       ` Kevin Rodgers
2010-06-03 10:09         ` Suvayu Ali
2010-06-03 15:40           ` Drew Adams
2010-06-04 18:51         ` Johan Bockgård
     [not found]   ` <mailman.4.1275403112.9367.help-gnu-emacs@gnu.org>
2010-06-01 15:41     ` Andreas Politz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikqE3PSI9MWLjzNF9WblKxq3EYKvKlo2hE3bDY_@mail.gmail.com \
    --to=fplemma@gmail.com \
    --cc=Help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.