[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] Dark/bright face detection problem
From: |
Johannes Weiner |
Subject: |
Re: [BUG] Dark/bright face detection problem |
Date: |
Fri, 28 Sep 2007 17:46:29 +0200 |
User-agent: |
Mutt/1.5.16 (2007-06-11) |
Whoops,
On Fri, Sep 28, 2007 at 04:38:33PM +0200, Johannes Weiner wrote:
> $ cat broken.el
> (set-background-color "gray20")
> (set-foreground-color "white")
> (set-default-font "lucidasans-10")
This is wrong. It must be:
(set-default-font ...)
(set-background-color ...)
(set-foreground-color ...)
The important part is, that (set-default-font ...) is called _before_ the
color settings.
Because in the working scenario, `set-default-font' triggers the face
dark/bright color updating to be done. So the face stays dark when
`set-default-font' is not called after `set-background-color'.
Hannes
--
3BD8 AF56 11AF 205C 9DB6 B10F 76F1 0634 71A4 DCA0
signature.asc
Description: Digital signature
- [BUG] Dark/bright face detection problem, Johannes Weiner, 2007/09/28
- Re: [BUG] Dark/bright face detection problem,
Johannes Weiner <=
- Re: [BUG] Dark/bright face detection problem, Richard Stallman, 2007/09/29
- Re: [BUG] Dark/bright face detection problem, Johannes Weiner, 2007/09/29
- Re: [BUG] Dark/bright face detection problem, Johannes Weiner, 2007/09/29
- Problems with setting face attributes for specific frames, Richard Stallman, 2007/09/30
- Re: Problems with setting face attributes for specific frames, Eli Zaretskii, 2007/09/30
- RE: Problems with setting face attributes for specific frames, Drew Adams, 2007/09/30
Re: [BUG] Dark/bright face detection problem, Dan Nicolaescu, 2007/09/29
Re: [BUG] Dark/bright face detection problem, Eli Zaretskii, 2007/09/29