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

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

Re: modeline colors


From: Kevin Rodgers
Subject: Re: modeline colors
Date: Wed, 29 Nov 2006 11:33:42 -0700
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)

Eli Zaretskii wrote:
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")

Isn't mode-line the correct face (note the hyphen)?

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?

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''.

But the mode-line face is defined in faces.el, which is dumped into the
emacs executable.

--
Kevin





reply via email to

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