[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: New feature idea: isearch with autocorrection
From: |
Ludwig, Mark |
Subject: |
RE: New feature idea: isearch with autocorrection |
Date: |
Mon, 27 Aug 2012 16:45:25 +0000 |
> -----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
Message not available