emacs-devel
[Top][All Lists]
Advanced

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

Re: [BUG] Dark/bright face detection problem


From: Dan Nicolaescu
Subject: Re: [BUG] Dark/bright face detection problem
Date: Sat, 29 Sep 2007 09:21:39 -0700

Johannes Weiner <address@hidden> writes:

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

This is just speculation, but it seems that the issue that you are
seeing is the same as the one discussed in the long running thread
"23.0.50; face-problems with multy-tty"




reply via email to

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