From: "Drew Adams" <drew.adams@oracle.com>
To: "'Stefan Monnier'" <monnier@iro.umontreal.ca>,
"'Dani Moncayo'" <dmoncayo@gmail.com>
Cc: 'Nix' <nix@esperi.org.uk>, emacs-devel@gnu.org
Subject: RE: C-g from Isearch
Date: Tue, 2 Oct 2012 10:18:05 -0700 [thread overview]
Message-ID: <EE43AAAC54CF4D5D947EE44A8D98F151@us.oracle.com> (raw)
In-Reply-To: <jwvbogkiz2p.fsf-monnier+emacs@gnu.org>
> > And I, like Nix, don't like the second case. I would like
> > C-g to _always_ cancel the Isearch. So IMO this behavior
> > should be configurable.
>
> I don't think the difference is terribly important, but a
> configuration option for that is acceptable.
Coming from someone who often resists adding yet another user option, this is a
bit surprising to me. IMHO, this is a case where your more usual stance wrt new
options (YAGNI) would be appropriate.
It is trivial for a user to bind C-g to `isearch-cancel'.
(And that command already has another simple binding.)
I would, however, support documenting this in the manual, where we discuss the
out-of-the-box behavior of C-g. Just mention that ESC ESC ESC (command
`isearch-cancel') always cancels isearch (and you can bind it to another key if
you want).
next prev parent reply other threads:[~2012-10-02 17:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-02 15:42 C-g from Isearch (was: Isearch: retrieve last successful search string from when you quit (`C-g')) Dani Moncayo
2012-10-02 16:22 ` Drew Adams
2012-10-02 17:05 ` Dani Moncayo
2012-10-02 17:06 ` C-g from Isearch Stefan Monnier
2012-10-02 17:08 ` Nix
2012-10-02 17:18 ` Drew Adams [this message]
2012-10-03 1:33 ` Stefan Monnier
2012-10-03 5:08 ` C-g from Isearch (was: Isearch: retrieve last successful search string from when you quit (`C-g')) Stephen J. Turnbull
2012-10-03 6:37 ` Dani Moncayo
2012-10-03 15:19 ` C-g from Isearch Jason Rumney
2012-10-03 15:45 ` Dani Moncayo
2012-10-03 16:44 ` Jason Rumney
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=EE43AAAC54CF4D5D947EE44A8D98F151@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=dmoncayo@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=nix@esperi.org.uk \
/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).