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: Juri Linkov <juri <at> linkov.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: acm <at> muc.de, larsi <at> gnus.org, drew.adams <at> oracle.com, 43702 <at> debbugs.gnu.org
Subject: bug#43702: Emacs master: Incorrect highlighting in regexp isearch.
Date: Wed, 07 Oct 2020 22:09:59 +0300
>> >> I suppose you agree that the previous color palette in isearch
>> >> with a color gradient is not suitable for highlighting of group matches
>> >> because while looking at highlighted matches it's quite impossible to
>> >> say which color corresponds to which group number.
>> >
>> > And with the current implementation on master it is possible?  If so,
>> > how?
>>
>> With only 2 default group faces it's possible to see that one of them
>> isearch-group-1 is brighter than the default isearch face, and another
>> isearch-group-2 is darker than the default isearch face.
>
> No, I meant to ask if it's possible to say which color corresponds to
> which group number.

The default two colors work well for simple regexps,
but degrade with increase of regexp complexity.
And defining more colors with same color gradations
doesn't help.  Even the color scheme designed by Drew
has problems.  So users and theme authors need to decide
themselves how many and what colors they want to use.




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.