Subject: RE: bug#8679: 24.0.50; wrong isearch highlighting for mismatch

From: Drew Adams <[email-masked]>
Date: Tue, 11 Feb 2014 07:23:26 -0800 (PST)

> > In this case the mismatch highlighting is inaccurate:
> >
> > emacs -Q
> > C-x b *scratch*
> > C-s ZZZZ
> >
> > The entire search string is highlighted as a mismatch, which is
> > correct.
> >
> > M-e M-a e
> >
> > So the edited search string is eZZZZ.
> >
> > C-s
> >
> > The entire search string, `eZZZZ' is highlighted, even though
> > there are matches for the `e'.
> 
> Seems to work for me.  Closing.

Seems to work for you apparently means little, I'm afraid.

Still a bug on Windows, at least.  The only difference in the
recipe now is that you need not use M-a.  The point is that
after inserting `e' at the front of the search string, `C-s'
still highlights the whole search string, `eZZZZ', instead of
highlighting only the mismatch portion, `ZZZZ'.

Should be reopened and fixed.