unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Juri Linkov'" <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: RE: isearch.el patch for `M-e' to put point at mismatch position
Date: Sat, 10 Sep 2011 09:22:21 -0700	[thread overview]
Message-ID: <FF93A0DBE5CC45979550F7474297FC28@us.oracle.com> (raw)
In-Reply-To: <F988145D160847529623F2A41748E618@us.oracle.com>

> > Replacing `isearch-message' with `isearch-string' in 
> > `isearch-fail-pos' will fix this bug.
> 
> Sounds good.  Please go for it.

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?




  reply	other threads:[~2011-09-10 16:22 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 [this message]
2011-09-12 11:28       ` Juri Linkov
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

  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=FF93A0DBE5CC45979550F7474297FC28@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.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 public inbox

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

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).