From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: modeline colors
Date: Wed, 29 Nov 2006 11:33:42 -0700 [thread overview]
Message-ID: <ekkjrm$avl$1@sea.gmane.org> (raw)
In-Reply-To: <u7ixedhay.fsf@gnu.org>
Eli Zaretskii wrote:
>> From: Eli Barzilay <eli@barzilay.org>
>> 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
next prev parent reply other threads:[~2006-11-29 18:33 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-28 19:35 modeline colors Eli Barzilay
2006-11-28 20:45 ` aartist
2006-11-28 21:00 ` Eli Barzilay
2006-11-29 4:10 ` Eli Zaretskii
2006-11-29 18:33 ` Kevin Rodgers [this message]
2006-11-29 19:01 ` Peter Dyballa
[not found] ` <mailman.1304.1164827087.2155.help-gnu-emacs@gnu.org>
2006-11-29 19:20 ` Eli Barzilay
[not found] ` <mailman.1270.1164773427.2155.help-gnu-emacs@gnu.org>
2006-11-29 4:38 ` Eli Barzilay
2006-11-28 23:38 ` Mark Elston
2006-11-29 4:34 ` Eli Barzilay
2006-11-28 20:52 ` Peter Dyballa
2006-11-28 20:58 ` Eli Barzilay
[not found] ` <mailman.1254.1164747174.2155.help-gnu-emacs@gnu.org>
2006-11-28 21:00 ` Eli Barzilay
2006-11-28 21:58 ` Peter Dyballa
2006-11-30 22:19 ` Eli Barzilay
2006-12-03 4:26 ` Eli Barzilay
2007-01-19 19:22 ` Kelsin
2007-01-19 19:39 ` Eli Barzilay
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ekkjrm$avl$1@sea.gmane.org' \
--to=ihs_4664@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).