all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tom <adatgyujto@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: New feature idea: isearch with autocorrection
Date: Sat, 25 Aug 2012 19:08:04 +0000 (UTC)	[thread overview]
Message-ID: <loom.20120825T210027-808@post.gmane.org> (raw)
In-Reply-To: loom.20120825T204954-545@post.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	other threads:[~2012-08-25 19:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.7531.1345837128.855.help-gnu-emacs@gnu.org>
2012-08-25 17:45 ` New feature idea: isearch with autocorrection Vagn Johansen
2012-08-25 18:55   ` Tom
2012-08-25 19:08     ` Tom [this message]
2012-08-24 19:38 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
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

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20120825T210027-808@post.gmane.org \
    --to=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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.