unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Same 'face' spec initialized to different values for x and terminal
@ 2007-06-03 20:56 Leo
  2007-06-03 21:05 ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Leo @ 2007-06-03 20:56 UTC (permalink / raw)
  To: emacs-devel

Hi Emacs developers,

The following 'face' is extracted from 'dictem.el¹'

(defface dictem-database-description-face
  '((((background light)) (:bold t :foreground "darkblue"))
    (((background dark))  (:bold t :foreground "white")))

  "The face that is used for displaying a database description"
  :group 'dictem-faces)

In X, start 'emacs -q -l dictem.el':

dictem-database-description-face is initialized to:
               ......
        Weight: bold
         Slant: unspecified
    Foreground: darkblue
               ......

In Xterm, start 'emacs -nw -q -l dictem.el':
               ......
        Weight: bold
         Slant: unspecified
    Foreground: white
               ......

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

Tested in GNU Emacs 23.0.0.6 (i686-pc-linux-gnu, X toolkit) of
2007-05-31.

Footnotes: 
¹  http://mova.org/~cheusov/pub/dictem
-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-09-13 16:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2007-09-13 16:43       ` Leo

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