all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Default DISPLAY of custom-set-faces SPECs
@ 2010-02-02  8:54 Tassilo Horn
  0 siblings, 0 replies; only message in thread
From: Tassilo Horn @ 2010-02-02  8:54 UTC (permalink / raw
  To: emacs-devel

Hi all,

I have some problems with customize-face.  I always fire up an emacs
instance with an X frame in the morning, and thereafter I use
emacsclient for both X (white bg, black fg) and terminals (black bg,
white fg).

Now, I customized some faces in an X frame (like changing the background
of hl-line face), and after opening a terminal frame I can see that I
cannot see anything: in the terminal frame, I have a white foreground on
a white background.

The reason is that emacs uses `t' as DISPLAY in the relevant SPEC of
`custom-set-faces'.  Since my terminal has only 8 colors according to
`list-colors-display' and the emacs defaults are pretty good in that
circumstances, I'd like to make all my face customizations only take
effect in X frames.  I did that by replacing `t' with `((type x))' in
all SPECs.

Is it possible to teach `customize-face' to use that as default value,
so that all my face configs apply only to X frames?

Bye,
Tassilo





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-02-02  8:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-02  8:54 Default DISPLAY of custom-set-faces SPECs Tassilo Horn

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.