From: "Aaron S. Hawley" <aaron.s.hawley@gmail.com>
To: 10654@debbugs.gnu.org
Subject: bug#10654: 24.0.93; isearch-yank-line moved from C-y
Date: Mon, 30 Jan 2012 10:16:06 -0500 [thread overview]
Message-ID: <CAFw1JJ6QAeB0+yrNW7M2RyO0KoVBzMFd2PDv7DHJo1tKA1_9OA@mail.gmail.com> (raw)
I appreciate the new behavior of M-y in Isearch Mode. I find it more
satisfying, and less frustrating, to be able to access the full kill
ring.
I was surprised that the previously unsatisfying command M-y overwrote
the behavior of C-y in Isearch Mode. C-y had held the very useful
command of yanking the rest of the line into Isearch. I eat and
breathe Diff output and line-oriented source code, so I would use the
C-y command often to search similar text or compare text in the buffer
or across buffers. I use M-x diff or M-x compare-windows but Isearch
Mode can get the job done quicker in some cases.
I don't have any data to support that C-y is popular. I won't suggest
that the bindings for Isearch Mode are anywhere near sane. I recall I
was flummoxed by them at first. The bindings are diabolical for
beginners in most ways, but how did I learn them if they weren't
coherent? However, the new change is disruptive for existing users of
Emacs and after trying it for two weeks, I can confirm that putting
`isearch-yank-line' to the `M-s C-e' binding is unsatisfying (M-s C-k
makes more sense). Though, without any data maybe I'm the only person
who uses it and needs a short key binding?
The proposed bindings for 24.1 are:
(define-key isearch-mode-map "\C-y" 'isearch-yank-kill)
(define-key isearch-mode-map "\M-y" 'isearch-yank-pop)
(define-key isearch-mode-map "\M-s\C-e" 'isearch-yank-line)
I'd prefer to revert partially to:
(define-key isearch-mode-map "\C-y" 'isearch-yank-line)
(define-key isearch-mode-map "\M-y" 'isearch-yank-pop)
Or keep the proposed new bindings, but at least give a better binding
than M-s C-e for the old C-y. How about the shorter (and obvious)
key binding of C-k?
(define-key isearch-mode-map "\C-y" 'isearch-yank-kill)
(define-key isearch-mode-map "\M-y" 'isearch-yank-pop)
(define-key isearch-mode-map "\C-k" 'isearch-yank-line)
Thanks for Emacs,
aaron
--
In general, we reserve the right to have a poor
memory--the computer, however, is supposed to
remember! Poor computer. -- Guy Lewis Steele Jr.
next reply other threads:[~2012-01-30 15:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-30 15:16 Aaron S. Hawley [this message]
2012-01-30 18:54 ` bug#10654: 24.0.93; isearch-yank-line moved from C-y Glenn Morris
2012-01-30 20:19 ` Aaron S. Hawley
2012-02-03 17:48 ` Kevin Rodgers
2012-02-04 0:17 ` Juri Linkov
2022-01-27 16:42 ` Lars Ingebrigtsen
2012-01-30 22:59 ` Juri Linkov
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFw1JJ6QAeB0+yrNW7M2RyO0KoVBzMFd2PDv7DHJo1tKA1_9OA@mail.gmail.com \
--to=aaron.s.hawley@gmail.com \
--cc=10654@debbugs.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).