From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Barzilay Newsgroups: gmane.emacs.help Subject: Re: modeline colors Date: 02 Dec 2006 23:26:58 -0500 Organization: Northeastern University, College of Computer Science Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1165120842 21345 80.91.229.2 (3 Dec 2006 04:40:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 3 Dec 2006 04:40:42 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 03 05:40:40 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gqj9V-00051C-2T for geh-help-gnu-emacs@m.gmane.org; Sun, 03 Dec 2006 05:40:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gqj9U-0002Cd-PT for geh-help-gnu-emacs@m.gmane.org; Sat, 02 Dec 2006 23:40:32 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!news.tele.dk!feed118.news.tele.dk!news.tele.dk!small.news.tele.dk!uio.no!quimby.gnus.org!news.ccs.neu.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-NNTP-Posting-Host: winooski.ccs.neu.edu Original-X-Trace: camelot.ccs.neu.edu 1165120018 16662 129.10.115.117 (3 Dec 2006 04:26:58 GMT) Original-X-Complaints-To: news@news.ccs.neu.edu Original-NNTP-Posting-Date: Sun, 3 Dec 2006 04:26:58 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Original-Xref: shelby.stanford.edu gnu.emacs.help:143619 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:39221 Archived-At: Eli Barzilay writes: > Eli Barzilay writes: > > > Does anyone know why in some versions of Emacs (specifically, the one > > shipped with FC6: 21.4.1), changing the default background disables > > my modeline color setting? > > > > If I put this (and only this) in my .emacs: > > > > (set-face-background 'modeline "red") > > (set-face-background 'default "blue4") > > > > I get a modeline with the default color. After Emacs has already > > started, evaluating that first line again produces the expected > > result. Is this some corner case bug? > > FWIW, the problem disappeared. I think that something was broken on a > low level, perhaps even something in X. And just in case someone will care about this -- it turned out that the problem goes away if I "xrdb -load .Xdefault" after the Gnome session starts. To clarify: my .Xdefaults does not touch the modeline etc. (And even if it does, the two expressions should set the colors regardless of my .Xdefaults.) -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://www.barzilay.org/ Maze is Life!