From: "Drew Adams" <drew.adams@oracle.com>
To: "'Alan Mackenzie'" <acm@muc.de>
Cc: 7700@debbugs.gnu.org
Subject: bug#7700: 24.0.50; C-y binding withing Isearch mode
Date: Thu, 23 Dec 2010 12:46:16 -0800 [thread overview]
Message-ID: <EBACB30B96734A87BF589ED2180490D8@us.oracle.com> (raw)
In-Reply-To: <20101223192338.GA1114@muc.de>
sm>>> FWIW, I'd agree. I've always found the C-y binding in isearch
sm>>> "useless" and counter-intuitive. I'd much rather make C-y and M-y
sm>>> behave like they do in the minibuffer.
>
> What do they do in the minibuffer? C-h c doesn't seem to work in the
> minibuffer (as it doesn't in isearch also).
da>> Although I haven't used `C-y' in isearch in a long time,
da>> I'm not sure its behavior is "useless". It would probably
da>> be good to have some isearch key binding for what C-y does now.
>
> How about M-y?
To both questions you raise above: C-y and M-y in the minibuffer are the same as
they are in any buffer: C-y yanks the last kill and M-y replaces the text just
yanked with a previous kill.
da>> One possibility might be `C-u C-y' (since the C-u behavior
da>> for C-y doesn't apply during isearch), but that would mean
da>> sacrificing C-u's ability to exit isearch.
da>> Worse, C-u is currently passed to any exiting key (e.g.
da>> `C-u C-n'), which can be handy.
>
> C-u C-y is too cumbersome for a key sequence you're likely to want to
> repeat.
I was thinking that only one C-u would be needed to then let C-y do what it does
now. IOW, C-u C-y C-y... to repeat.
But I suspect that proposing C-u for this is a non-starter. I expect that there
will be significant attachment to the use of C-u to both exit isearch and be
passed along to the following command/key as prefix arg.
da>> Personally, I wouldn't mind sacrificing `C-u' for this - I
da>> think there are plenty of keys to exit a search. But I know
da>> that others do object to losing any exit keys, and `C-u' is
da>> also a special case wrt exiting.
>
> C-u is potentially useable by an isearch command (including a
> "scrolling" command) to enter a repeat count. When
> `isearch-allow-scroll' is enabled, C-u C-l is a useful key
> sequence - for example. Let's not lose this facility.
OK by me. I completely forgot about such scrolling.
next prev parent reply other threads:[~2010-12-23 20:46 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-21 19:06 bug#7700: 24.0.50; C-y binding withing Isearch mode Dani Moncayo
2010-12-21 21:26 ` Dani Moncayo
2010-12-23 15:30 ` Stefan Monnier
2010-12-23 16:09 ` Lennart Borgman
2010-12-23 16:46 ` Leo
2010-12-23 17:05 ` Andreas Schwab
2010-12-23 22:39 ` Leo
2010-12-23 17:14 ` Alan Mackenzie
2010-12-24 2:39 ` Stefan Monnier
2010-12-24 3:25 ` Lennart Borgman
2010-12-24 11:39 ` Dani Moncayo
2010-12-24 12:13 ` Lennart Borgman
2010-12-24 13:34 ` Dani Moncayo
2010-12-25 2:38 ` Juri Linkov
2010-12-25 4:06 ` Stefan Monnier
2010-12-25 11:15 ` Dani Moncayo
2010-12-25 19:52 ` Stefan Monnier
2010-12-25 20:09 ` Lennart Borgman
2010-12-27 22:15 ` Alan Mackenzie
2010-12-27 22:36 ` Drew Adams
2010-12-28 0:14 ` Lennart Borgman
2010-12-28 0:51 ` Drew Adams
2010-12-28 1:34 ` Lennart Borgman
2010-12-28 5:43 ` Drew Adams
2010-12-26 23:13 ` Andrew W. Nosenko
2010-12-26 23:33 ` Andrew W. Nosenko
2010-12-23 17:28 ` Drew Adams
2010-12-23 19:23 ` Alan Mackenzie
2010-12-23 19:30 ` Dani Moncayo
2010-12-23 20:48 ` Drew Adams
2010-12-23 20:58 ` Lennart Borgman
2010-12-23 21:28 ` Alan Mackenzie
2010-12-23 22:28 ` Drew Adams
2010-12-23 23:08 ` Dani Moncayo
2010-12-25 2:34 ` Juri Linkov
2010-12-25 4:07 ` Stefan Monnier
2010-12-23 20:46 ` Drew Adams [this message]
2010-12-23 19:48 ` Juri Linkov
2011-05-16 15:11 ` bug#7700: 24.0.50; C-y binding in " Dani Moncayo
2011-05-16 15:42 ` Stefan Monnier
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=EBACB30B96734A87BF589ED2180490D8@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=7700@debbugs.gnu.org \
--cc=acm@muc.de \
/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).