all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: emacs-devel@gnu.org
Subject: Default DISPLAY of custom-set-faces SPECs
Date: Tue, 02 Feb 2010 09:54:20 +0100	[thread overview]
Message-ID: <87aavs6mrn.fsf@thinkpad.tsdh.de> (raw)

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





                 reply	other threads:[~2010-02-02  8:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87aavs6mrn.fsf@thinkpad.tsdh.de \
    --to=tassilo@member.fsf.org \
    --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 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.