From: Dan Nicolaescu <dann@ics.uci.edu>
To: Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: [BUG] Dark/bright face detection problem
Date: Sat, 29 Sep 2007 09:21:39 -0700 [thread overview]
Message-ID: <200709291621.l8TGLiw2019379@oogie-boogie.ics.uci.edu> (raw)
In-Reply-To: <20070928154629.GA8089@saeurebad.de> (Johannes Weiner's message of "Fri\, 28 Sep 2007 17\:46\:29 +0200")
Johannes Weiner <hannes@saeurebad.de> 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"
next prev parent reply other threads:[~2007-09-29 16:21 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-28 14:38 [BUG] Dark/bright face detection problem Johannes Weiner
2007-09-28 15:46 ` Johannes Weiner
2007-09-29 16:10 ` Richard Stallman
2007-09-29 21:20 ` Johannes Weiner
2007-09-29 21:32 ` Johannes Weiner
[not found] ` <E1IbyK0-0005DQ-DU@fencepost.gnu.org>
2007-09-30 16:28 ` Problems with setting face attributes for specific frames Eli Zaretskii
2007-10-01 17:40 ` Richard Stallman
2007-09-30 23:54 ` Drew Adams
2007-10-01 17:40 ` Richard Stallman
2007-10-01 18:17 ` Drew Adams
2007-10-02 3:32 ` Richard Stallman
2007-10-02 15:09 ` Drew Adams
2007-10-02 22:00 ` Richard Stallman
2007-10-01 18:45 ` Stephen J. Turnbull
2007-10-02 3:32 ` Richard Stallman
2007-09-29 16:21 ` Dan Nicolaescu [this message]
2007-09-29 15:52 ` [BUG] Dark/bright face detection problem Eli Zaretskii
2007-09-29 16:16 ` Johannes Weiner
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=200709291621.l8TGLiw2019379@oogie-boogie.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=emacs-devel@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).