unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Ludwig, Mark" <ludwig.mark@siemens.com>
To: Tom <adatgyujto@gmail.com>,
	"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: New feature idea: isearch with autocorrection
Date: Mon, 27 Aug 2012 16:45:25 +0000	[thread overview]
Message-ID: <BC5672F8AD4C054BAF167C9801500D1AB0ADE950@USSLMMBX003.net.plm.eds.com> (raw)
In-Reply-To: <loom.20120827T152014-851@post.gmane.org>

> -----Original Message-----
> From: Tom
> Sent: Monday, August 27, 2012 8:23 AM
> To: help-gnu-emacs@gnu.org
> Subject: Re: New feature idea: isearch with autocorrection
> 
> Filipp Gunbin <fgunbin <at> fastmail.fm> writes:
> 
> >
> > On 27/08/2012 17:07, Tom wrote:
> > >
> > > Isearch should have a binding which deletes all the non-matching
> > > characters from the search string. C-Backspace can be a good candidate
> > > for that.
> >
> > It already has - `C-g'.
> >
> 
> Cool, thanks. It never occurred to me to use C-g to fix the search
> string. It's not a very intuitive binding, because it's usually
> associated with aborting operations, not with correcting things.

I learned about this so long ago that my fingers sometimes do it without conscious thought, but I somehow _do_ associate this as an 'abort' of sorts: it's aborting the failing search, returning me to the successful search I had started.  (I also agree it's not exactly intuitive, because the I-search itself continues.  Pressing Control-G during a successful I-search aborts that too, of course, and at that point, there is no search running.)

Hope this helps,
Mark




  reply	other threads:[~2012-08-27 16:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-24 19:38 New feature idea: isearch with autocorrection Tom
2012-08-27  9:25 ` Yuri Khan
2012-08-27 13:07   ` Tom
2012-08-27 13:18     ` Filipp Gunbin
2012-08-27 13:23       ` Tom
2012-08-27 16:45         ` Ludwig, Mark [this message]
2012-08-27 18:13           ` Drew Adams
     [not found] ` <mailman.7643.1346059524.855.help-gnu-emacs@gnu.org>
2012-08-29 17:02   ` Bug Dout
2012-08-29 18:50     ` Vagn Johansen
     [not found] <mailman.7531.1345837128.855.help-gnu-emacs@gnu.org>
2012-08-25 17:45 ` Vagn Johansen
2012-08-25 18:55   ` Tom
2012-08-25 19:08     ` Tom

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=BC5672F8AD4C054BAF167C9801500D1AB0ADE950@USSLMMBX003.net.plm.eds.com \
    --to=ludwig.mark@siemens.com \
    --cc=adatgyujto@gmail.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).