all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
Subject: Re: modeline colors
Date: Wed, 29 Nov 2006 06:10:13 +0200	[thread overview]
Message-ID: <u7ixedhay.fsf@gnu.org> (raw)
In-Reply-To: <m3fyc3waln.fsf@winooski.ccs.neu.edu> (message from Eli Barzilay on 28 Nov 2006 16:00:04 -0500)

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

  reply	other threads:[~2006-11-29  4:10 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 [this message]
2006-11-29 18:33       ` Kevin Rodgers
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u7ixedhay.fsf@gnu.org \
    --to=eliz@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.