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


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Brendan Miller <catphive <at> catphive.net>
Cc: monnier <at> iro.umontreal.ca, 9982 <at> debbugs.gnu.org
Subject: Re: bug#9982: M-x load-theme does not change background color
Date: Tue, 08 Nov 2011 01:36:35 -0500
> Date: Mon, 7 Nov 2011 21:51:33 -0800
> From: Brendan Miller <catphive <at> catphive.net>
> Cc: 9982 <at> debbugs.gnu.org
> 
> I think I've narrowed down the bug somewhat. There is something wrong
> with the (set-background-color "color-here") function. This is a
> regression from emacs 23.3 where that function works fine on the same
> machine.
> 
> I tried (set-background-color "black") and this function seems very
> erratic. It will succeed part way (not for all lines on buffer), but
> then fail to set the color back to white on the next call. Assuming
> that load-theme uses this function, I think this is probably where the
> bug is.

Can you show a screenshot with such erratic results?

set-background-color only sets the background color of the default
face, so if the buffer shows portions of the text with faces other
than different that specify the background color, set-background-color
will not change the background for those portions of text.




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

Previous Next


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