help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New feature idea: isearch with autocorrection


From: Tom
Subject: Re: New feature idea: isearch with autocorrection
Date: Sat, 25 Aug 2012 19:08:04 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Tom <adatgyujto <at> gmail.com> writes:
> 
> I tried a few searches and it seems useful. Why is the default
> implementation leaves bad characters in the search string at all? It is not
> very useful, because then you must delete them manually.
> 


It occured to me it is useful for overwrapped search when you hit the
end of the file, but then you can press C-s to search for the failed
string from the beginning.

On the other hand the above advice is quite useful when you only
want to search forward in the file without overwrapping, because
in this case collecting the nonmatching characters in the search
string is useless, because you have to delete them to fix the search
string.

So the best solution would be to somehow combine the two. Collect
the failed chars as usual to allow for quick overwrapping search,
but at the same time show those matches until the end of file
which can be found by ignoring the nonmatching chars in the 
search string, so the user does not have to delete them
manually to correct the search.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]