unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: dmgus <Dmitry.P.Gusev@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Incremental search don't append wrongly typed characters
Date: Wed, 12 Dec 2012 22:00:53 +0000 (UTC)	[thread overview]
Message-ID: <loom.20121212T224513-651@post.gmane.org> (raw)

Hi all,

How can I change this behaviour:
 Start incremental search and search for "keyz"
 The "keyz" is displayed in the search echo area and the "key" part in
"keywords" is higlighted
  Type "s"
  "keys" won't be found, the cursor stays on the "keywords" line, search echo
area displays "keyzs", which is not convenient

to that one:
 Start incremental search and search for "keyz"
 The "key" is displayed in the search echo area and the "key" part in "keywords"
is higlighted
 Press s
 "keys" is found and highlited

Although I understand that it's not usual behavior and won't be of help for
everybody, it's still very interesting how to do it. Will appreciate for any
help on this subject.

I've already asked this question on stack overflow though don't have an answer:
http://stackoverflow.com/questions/12099760/emacs-incremental-search-auto-remove-from-the-search-string-the-characters-tha

Thanks,
Dmitry




             reply	other threads:[~2012-12-12 22:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-12 22:00 dmgus [this message]
2012-12-12 22:14 ` Incremental search don't append wrongly typed characters Drew Adams
2012-12-12 22:55   ` Dmitry Gusev
2012-12-12 23:07     ` Drew Adams
2012-12-12 23:54       ` Drew Adams
2012-12-13  2:53         ` Drew Adams

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=loom.20121212T224513-651@post.gmane.org \
    --to=dmitry.p.gusev@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).