From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9982: M-x load-theme does not change background color Date: Tue, 08 Nov 2011 01:36:35 -0500 Message-ID: References: <097h3b7rlx.fsf@fencepost.gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1320734236 22750 80.91.229.12 (8 Nov 2011 06:37:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 8 Nov 2011 06:37:16 +0000 (UTC) Cc: 9982@debbugs.gnu.org To: Brendan Miller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 08 07:37:11 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RNfJ0-00073N-Q1 for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Nov 2011 07:37:10 +0100 Original-Received: from localhost ([::1]:40703 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNfJ0-000416-BE for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Nov 2011 01:37:10 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:46035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNfIx-00040m-5A for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2011 01:37:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RNfIw-0002sT-7V for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2011 01:37:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNfIw-0002sP-62 for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2011 01:37:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RNfLl-0006Bf-K2 for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2011 01:40:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Nov 2011 06:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9982 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9982-submit@debbugs.gnu.org id=B9982.132073437623746 (code B ref 9982); Tue, 08 Nov 2011 06:40:01 +0000 Original-Received: (at 9982) by debbugs.gnu.org; 8 Nov 2011 06:39:36 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RNfLL-0006Aw-Cg for submit@debbugs.gnu.org; Tue, 08 Nov 2011 01:39:35 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RNfLI-0006Ao-AV for 9982@debbugs.gnu.org; Tue, 08 Nov 2011 01:39:33 -0500 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RNfIR-0001hn-Vi; Tue, 08 Nov 2011 01:36:35 -0500 In-reply-to: (message from Brendan Miller on Mon, 7 Nov 2011 21:51:33 -0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 08 Nov 2011 01:40:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:53682 Archived-At: > Date: Mon, 7 Nov 2011 21:51:33 -0800 > From: Brendan Miller > Cc: 9982@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.