all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#2234: 23.0.90; custom-set-faces inhibits faces differences between X11 and console clients
@ 2009-02-08 16:01 Chong Yidong
  2009-02-08 20:19 ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: Chong Yidong @ 2009-02-08 16:01 UTC (permalink / raw)
  To: Stefano Zacchiroli; +Cc: 2234

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.






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

end of thread, other threads:[~2009-02-15 17:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20090215150943.GE31901@usha.takhisis.invalid>
2009-02-08 10:52 ` bug#2234: 23.0.90; custom-set-faces inhibits faces differences between X11 and console clients Stefano Zacchiroli
2009-02-15 17:35   ` bug#2234: marked as done (23.0.90; custom-set-faces inhibits faces differences between X11 and console clients) Emacs bug Tracking System
2009-02-08 16:01 bug#2234: 23.0.90; custom-set-faces inhibits faces differences between X11 and console clients Chong Yidong
2009-02-08 20:19 ` Stefan Monnier

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.