all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
To: Leo <sdl.web@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: Same 'face' spec initialized to different values for x and terminal
Date: Mon, 04 Jun 2007 09:16:43 -0700	[thread overview]
Message-ID: <200706041616.l54GGhQO029221@oogie-boogie.ics.uci.edu> (raw)
In-Reply-To: <m21wgrbudk.fsf@sl392.st-edmunds.cam.ac.uk> (Leo's message of "Mon\, 04 Jun 2007 16\:40\:39 +0100")

Leo <sdl.web@gmail.com> writes:

  > Dear Eli,
  > 
  > ----- Eli Zaretskii (2007-06-03) wrote:-----
  > 
  > >> From: Leo <sdl.web@gmail.com>
  > >> Date: Sun, 03 Jun 2007 21:56:18 +0100
  > >> 
  > >> *NB*: emacs has a light background in both x and xterm. Thus it looks
  > >>  very weird the aforementioned face is initialized to the dark
  > >>  background value.
  > >
  > > Emacs cannot determine the background color on a text terminal, so it
  > > assumes something.  Without -nw, Emacs queries the window system about
  > > the default color, so it can adjust its background mode.
  > >
  > > Try setting frame-background-mode to 'light in the xterm case, and I
  > > think you will have the colors that you want.
  > 
  > There are altogether 5 faces defined in dictem.el.
  > 
  > With "emacs -nw -q -l dictem.el" in xterm, two of them initialize to
  > light background values and three of them to dark background values:
  > 
  >               .----------------------------------+-------.
  >               | dictem-reference-definition-face | light |
  >               |----------------------------------+-------|
  >               | dictem-reference-m1-face         | light |
  >               |----------------------------------+-------|
  >               | dictem-reference-m2-face         | dark  |
  >               |----------------------------------+-------|
  >               | dictem-reference-dbname-face     | dark  |
  >               |----------------------------------+-------|
  >               | dictem-database-description-face | dark  |
  >               `----------------------------------+-------'
  > 
  > Whatever emacs assumes for its background mode, something is wrong. I
  > hope someone can see this problem and fix it.

This seems to work properly on the multi-tty branch. That branch has
a few changes for initializing faces on different frames. If nobody
looks at this issue now, it will hopefully be fixed when the multi-tty
branch is merged. 

  reply	other threads:[~2007-06-04 16:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-03 20:56 Same 'face' spec initialized to different values for x and terminal Leo
2007-06-03 21:05 ` Eli Zaretskii
2007-06-03 21:20   ` Leo
2007-06-03 21:23   ` Juri Linkov
2007-06-03 21:34     ` Andreas Schwab
2007-06-03 21:57       ` Juri Linkov
2007-06-03 22:35         ` Andreas Schwab
2007-06-04 15:40   ` Leo
2007-06-04 16:16     ` Dan Nicolaescu [this message]
2007-09-13 16:43       ` Leo

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=200706041616.l54GGhQO029221@oogie-boogie.ics.uci.edu \
    --to=dann@ics.uci.edu \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=sdl.web@gmail.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.
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.