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


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alan Mackenzie <acm <at> muc.de>
Cc: acm <at> muc.de, 43702 <at> debbugs.gnu.org
Subject: bug#43702: Emacs master: Incorrect highlighting in regexp isearch.
Date: Tue, 29 Sep 2020 17:43:35 +0300
> Date: Tue, 29 Sep 2020 12:13:17 +0000
> From: Alan Mackenzie <acm <at> muc.de>
> Cc: acm <at> muc.de
> 
> In the Emacs master branch
> (i) emacs -Q
> (ii) C-x C-f emacs/src/syntax.c<CR>
> (iii) C-M-s \(inc\|dec\)_both
> (iv) Press C-s a few times.
> 
> Notice that the highlighting of the found match has the purple
> background over the correct characters, but the characters displayed in
> the foreground are "   _both".  This incorrect display is a bug.

Here, I don't see any incorrect display, I see a new feature at work.
If you don't like it, set search-highlight-submatches to nil.

How many colors do you have on the terminal where you see the problem?




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.