all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: emacs-devel@gnu.org
Subject: Re: isearch.el patch for `M-e' to put point at mismatch position
Date: Mon, 12 Sep 2011 14:28:20 +0300	[thread overview]
Message-ID: <878vpuauhn.fsf@mail.jurta.org> (raw)
In-Reply-To: <FF93A0DBE5CC45979550F7474297FC28@us.oracle.com> (Drew Adams's message of "Sat, 10 Sep 2011 09:22:21 -0700")

> Actually, unless I'm missing something that doesn't work either.
>
> emacs -Q
> Insert a few tabs using C-q TAB.  Insert `w'.
> M-<.
> C-s C-q TAB k
>
> Highlighting shows that the TAB char is matched but the `k' char is a mismatch.
>
> Now hit M-e.  Instead of placing the cursor at the mismatch (just before the
> `k'), it places it before the TAB, at the beginning of the search string.
>
> (Without your fix, the cursor was placed after the `k', which is also
> incorrect.)
>
> Am I missing something?

Perhaps you forgot to replace `isearch-message-state' with `isearch-string-state'?



  reply	other threads:[~2011-09-12 11:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-16 21:36 isearch.el patch for `M-e' to put point at mismatch position Drew Adams
2011-05-16 22:14 ` Juri Linkov
2011-05-16 22:37   ` Drew Adams
2011-05-17  3:08 ` Stefan Monnier
2011-05-27 20:54   ` Drew Adams
2011-05-28  1:27 ` Stefan Monnier
2011-09-10 11:54 ` Juri Linkov
2011-09-10 16:13   ` Drew Adams
2011-09-10 16:22     ` Drew Adams
2011-09-12 11:28       ` Juri Linkov [this message]
2011-09-12 14:58         ` Drew Adams
2011-09-14 16:08           ` Juri Linkov

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=878vpuauhn.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@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.