unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: zack@upsilon.cc (Stefano Zacchiroli)
Cc: 2234@emacsbugs.donarmstrong.com
Subject: bug#2234: 23.0.90; custom-set-faces inhibits faces differences between X11 and console clients
Date: Sun, 08 Feb 2009 11:01:32 -0500	[thread overview]
Message-ID: <87d4dskjdv.fsf@cyd.mit.edu> (raw)

This is, indeed, a problem.  Tthe customize-face facility ought to allow
you to specify terminal-dependent face settings.  Hopefully, someone
will write such an enhancement, but this will probably not happen before
the upcoming 23.1 release.

One workaround that I can suggest is to reset the defface spec of the
face within your .emacs file, like this:

 (put 'font-lock-comment-face 'face-defface-spec nil)
 (defface font-lock-comment-face
   '((((class color) (background light))
      (:foreground "green"))
     (((class color) (background dark))
      (:foreground "yellow"))
     (t (:weight bold :slant italic)))
   "Font Lock mode face used to highlight comments."
   :group 'font-lock-faces)

The changes that you make this way will not apply to the first frame,
but they will apply to subsequent frames.






             reply	other threads:[~2009-02-08 16:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-08 16:01 Chong Yidong [this message]
2009-02-08 20:19 ` bug#2234: 23.0.90; custom-set-faces inhibits faces differences between X11 and console clients Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2009-02-08 10:52 Stefano Zacchiroli

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=87d4dskjdv.fsf@cyd.mit.edu \
    --to=cyd@stupidchicken.com \
    --cc=2234@emacsbugs.donarmstrong.com \
    --cc=zack@upsilon.cc \
    /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).