From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Brendan Miller Newsgroups: gmane.emacs.bugs Subject: bug#9982: M-x load-theme does not change background color Date: Mon, 7 Nov 2011 11:55:33 -0800 Message-ID: References: <097h3b7rlx.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1320695778 18606 80.91.229.12 (7 Nov 2011 19:56:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Nov 2011 19:56:18 +0000 (UTC) Cc: 9982@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 07 20:56:14 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 1RNVIj-0002cP-Q8 for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Nov 2011 20:56:13 +0100 Original-Received: from localhost ([::1]:52094 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNVIj-0006i1-6M for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Nov 2011 14:56:13 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:38367) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNVIg-0006hu-Vr for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2011 14:56:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RNVIf-0005Bx-L5 for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2011 14:56:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNVIf-0005Bh-JV for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2011 14:56:09 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RNVLS-0006zy-3q for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2011 14:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Brendan Miller Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Nov 2011 19:59:02 +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.132069591126863 (code B ref 9982); Mon, 07 Nov 2011 19:59:02 +0000 Original-Received: (at 9982) by debbugs.gnu.org; 7 Nov 2011 19:58:31 +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 1RNVKw-0006zE-Sb for submit@debbugs.gnu.org; Mon, 07 Nov 2011 14:58:31 -0500 Original-Received: from mail-iy0-f172.google.com ([209.85.210.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RNVKu-0006z6-F7 for 9982@debbugs.gnu.org; Mon, 07 Nov 2011 14:58:29 -0500 Original-Received: by iaeo4 with SMTP id o4so6219893iae.3 for <9982@debbugs.gnu.org>; Mon, 07 Nov 2011 11:55:34 -0800 (PST) Original-Received: by 10.231.20.227 with SMTP id g35mr11550393ibb.32.1320695734341; Mon, 07 Nov 2011 11:55:34 -0800 (PST) Original-Received: by 10.231.32.198 with HTTP; Mon, 7 Nov 2011 11:55:33 -0800 (PST) In-Reply-To: <097h3b7rlx.fsf@fencepost.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 07 Nov 2011 14:59:02 -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:53671 Archived-At: I tested originally with emacs -Q. I originally found the problem in an XFCE environment. I tried it out on Gnome, and it seemed to work fine. So it may be related to some kind of system theme. Another thought is that my XFCE environment has GTK3 libs installed, whereas the gnome environment has only GTK2 libs, so it might be related to that. Is there a way to check whether emacs is linking against GTK2 or GTK3? On Mon, Nov 7, 2011 at 9:46 AM, Glenn Morris wrote: > Brendan Miller wrote: > >> When loading emacs color themes with M-x load-theme, the background >> color is never set to anything other than white. Tested with manoj-dark, >> which is explicitly documented as having a black background. > > Works for me with both Lucid and GTK builds of the current trunk. > > emacs -Q =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0; =A0back= ground is white > M-x load-theme RET manoj-dark RET =A0 ; =A0background is black > > Does it work in emacs -Q for you? > Do you have a system theme that imposes a colour? > > The information that M-x report-emacs-bug provides might be useful. >