GNU bug report logs - #9982
M-x load-theme does not change background color

Previous Next

Package: emacs;

Reported by: Brendan Miller <catphive <at> catphive.net>

Date: Mon, 7 Nov 2011 02:37:01 UTC

Severity: normal

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> gnu.org>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: Brendan Miller <catphive <at> catphive.net>, Eli Zaretskii <eliz <at> gnu.org>, 9982 <at> debbugs.gnu.org
Subject: bug#9982: Theme faces wrongly applied after background changes.
Date: Sun, 29 Jan 2012 19:08:51 +0800
> I investigated further.
> In the face-spec-recalc one does this:
>
> (let ((theme-faces (reverse (get face-sym 'theme-face))))
>       (dolist (spec theme-faces)
> 	(face-spec-set-2 face frame (cadr spec))))
>
> The problem is that for the default face we have set the background to
> black, but the theme variant of default is still white, so the
> background is painted white.

I installed xfce4 and can now reproduce the bug.  The problem is the
existence of the `theme-face' property for `default', which is present
at startup even with emacs -Q.  I don't know where this is coming from
either, but it rings a dim bell---I'll try to investigate further.




This bug report was last modified 13 years and 115 days ago.

Previous Next


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