GNU bug report logs -
#9982
M-x load-theme does not change background color
Previous Next
Full log
View this message in rfc822 format
> 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 115 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.