GNU bug report logs - #43702
Emacs master: Incorrect highlighting in regexp isearch.

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Tue, 29 Sep 2020 12:14:01 UTC

Severity: normal

Tags: fixed

Fixed in version 28.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #56 received at 43702 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Alan Mackenzie <acm <at> muc.de>, 43702 <at> debbugs.gnu.org
Subject: Re: bug#43702: Emacs master: Incorrect highlighting in regexp isearch.
Date: Tue, 06 Oct 2020 23:17:44 +0300
>>> So a better solution is maybe to save match-data on the isearch stack
>>> and restore in isearch-pop-state (called by isearch-delete-char).
>>> I could try to do this.
>>
>> Please do.

This is fixed now.

> I'm on it (also adding even/odd faces to lazy-isearch - optionally
> on the new user option lazy-highlight-submatches).

I started implementing group matches highlighting for lazy-highlight and also
for query-replace, but then realized neither lazy-highlight nor query-replace
need no such thing because this highlighting is only useful while
incrementally constructing/inspecting a complex regexp for the current match
in incremental isearch mode.




This bug report was last modified 4 years and 221 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.