GNU bug report logs - #53636
29.0.50; face-remapping broken on master

Previous Next

Package: emacs;

Reported by: Tassilo Horn <tsdh <at> gnu.org>

Date: Sun, 30 Jan 2022 13:55:02 UTC

Severity: normal

Tags: confirmed

Found in version 29.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 53636 <at> debbugs.gnu.org, tsdh <at> gnu.org
Subject: bug#53636: 29.0.50; face-remapping broken on master
Date: Sun, 30 Jan 2022 19:31:54 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

> If the problem is with face remapping, can we please have a reproducer
> that is simpler to debug?  Like one that doesn't need any timers and
> flashing text?

I assumed that all that async stuff was part of the reproducer, but
indeed it's not.

Just evaling this is sufficient:

 (face-remap-add-relative 'mode-line 'error)

And this is because mode-line is (in Emacs 29) the parent of two faces
(but not used directly on the mode line), so you apparently have to do
this instead:

 (face-remap-add-relative 'mode-line-active 'error)

I'm not sure whether that's a bug or not?  (That remapping a parent face
has no effect.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 158 days ago.

Previous Next


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