unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: Dani Moncayo <dmoncayo@gmail.com>
Cc: Nix <nix@esperi.org.uk>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	Drew Adams <drew.adams@oracle.com>,
	emacs-devel@gnu.org
Subject: C-g from Isearch (was: Isearch: retrieve last successful search string from when you quit (`C-g'))
Date: Wed, 03 Oct 2012 14:08:27 +0900	[thread overview]
Message-ID: <87ehlgkur8.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <CAH8Pv0j6wvWAAm+gK91fWcWDxDwP0jjCFE4JzmY2+DnAqOpq7Q@mail.gmail.com>

Dani Moncayo writes:

 > documented in (info "(emacs)Error in Isearch"), `C-g' from Isearch
 > does this:
 > * If the current search is successful, `C-g' cancels the Isearch.
 > * Else, `C-g' restores the last succesful search string.

In XEmacs, this is useless duplication.  Deleting the character has
the same effect some rather large fraction of the time, as it's
unusual that multiple not found characters are typed.

 > 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'm tempted to just change XEmacs's behavior to "always cancel" and
see how many cries of outrage can be induced.




  parent reply	other threads:[~2012-10-03  5:08 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
2012-10-03  1:33     ` Stefan Monnier
2012-10-03  5:08 ` Stephen J. Turnbull [this message]
2012-10-03  6:37   ` C-g from Isearch (was: Isearch: retrieve last successful search string from when you quit (`C-g')) 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=87ehlgkur8.fsf@uwakimon.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --cc=dmoncayo@gmail.com \
    --cc=drew.adams@oracle.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).