From: "Drew Adams" <drew.adams@oracle.com>
To: <help-gnu-emacs@gnu.org>, "'Tom Roche'" <Tom_Roche@pobox.com>
Subject: RE: isearch semantics, 23 vs 24
Date: Sun, 27 Nov 2011 09:35:30 -0800 [thread overview]
Message-ID: <89C062A511614ED78C346BA5DC3DF0A3@us.oracle.com> (raw)
In-Reply-To: <87zkfh1oo4.fsf@pobox.com>
> In emacs 23 ... if I then did C-s C-y C-s
> I would get a search for the entire first line... But in
> emacs 24, C-s C-y C-s ... search for whatever was last killed;
> instead, to get the desired behavior, I must do C-s M-s C-e C-s
> how best/easiest to restore the old behavior?
(define-key isearch-mode-map (kbd "C-y") 'isearch-yank-line)
How to find that out easily on your own? Look in the isearch.el code. Or ask
Emacs itself, like this:
1. Load this library:
http://www.emacswiki.org/emacs/download/help-fns%2b.el
2. C-h M-k isearch-mode-map
Do that in Emacs 23, and you see that `C-y' is bound to `isearch-yank-line'.
Do it in Emacs 24, and you see that `C-y' is bound to `isearch-yank-kill' (and
`isearch-yank-line' is bound to `M-s C-e', as you noticed).
next prev parent reply other threads:[~2011-11-27 17:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-27 17:05 isearch semantics, 23 vs 24 Tom Roche
2011-11-27 17:35 ` Drew Adams [this message]
2011-11-27 18:52 ` Tom Roche
2011-12-01 4:21 ` Kevin Rodgers
2011-12-02 12:37 ` Harry Putnam
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=89C062A511614ED78C346BA5DC3DF0A3@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=Tom_Roche@pobox.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.
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).