help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: modeline colors


From: Eli Barzilay
Subject: Re: modeline colors
Date: 28 Nov 2006 23:38:16 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Eli Zaretskii <address@hidden> writes:

> > From: Eli Barzilay <address@hidden>
> > Date: 28 Nov 2006 16:00:04 -0500
> > > >
> > > > 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?
> > > 
> > > M-x customize-face RET mode-line
> > 
> > This, as expected, does not solve the problem.
> 
> You mean, if you customize the mode-line colors as you wish them to
> be, then save the customizations for the future sessions, and
> restart Emacs, the mode line again comes up with default colors?

Only when I do it as in the above -- with setting the default face
background.  Removing that work, and like I said -- doing the second
setting after Emacs starts works.


> I can understand why set-face-background doesn't work in your
> .emacs: when Emacs processes those lines, the modeline face does not
> yet exist; you could fix that by, e.g., creating it with make-face.
> But saving customizations with M-x customize should solve that
> problem (in a different way), so I'm puzzled by ``does not solve the
> problem''.

I don't think that this is the problem.  Actually I noticed something
else -- I'm using Emacs both on the console (in a plain X session) and
from VNC: the problem is on the console, but in VNC it works fine
(using just these two lines as a minimal example).

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]