From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs 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 Message-ID: <87d4dskjdv.fsf@cyd.mit.edu> Reply-To: Chong Yidong , 2234@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1234110236 15033 80.91.229.12 (8 Feb 2009 16:23:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Feb 2009 16:23:56 +0000 (UTC) Cc: 2234@emacsbugs.donarmstrong.com To: zack@upsilon.cc (Stefano Zacchiroli) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 08 17:25:11 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LWCSt-0003ky-HP for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Feb 2009 17:25:03 +0100 Original-Received: from localhost ([127.0.0.1]:41456 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWCRZ-0000Cx-Vs for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Feb 2009 11:23:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LWCRV-0000AK-2x for bug-gnu-emacs@gnu.org; Sun, 08 Feb 2009 11:23:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LWCRT-00006i-AT for bug-gnu-emacs@gnu.org; Sun, 08 Feb 2009 11:23:36 -0500 Original-Received: from [199.232.76.173] (port=40962 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWCRT-00006T-73 for bug-gnu-emacs@gnu.org; Sun, 08 Feb 2009 11:23:35 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56484) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LWCRS-0000C4-Og for bug-gnu-emacs@gnu.org; Sun, 08 Feb 2009 11:23:35 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n18GNWnJ022363; Sun, 8 Feb 2009 08:23:32 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n18GA3Z2018940; Sun, 8 Feb 2009 08:10:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Chong Yidong Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 08 Feb 2009 16:10:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2234 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2234-submit@emacsbugs.donarmstrong.com id=B2234.123410885216836 (code B ref 2234); Sun, 08 Feb 2009 16:10:03 +0000 Original-Received: (at 2234) by emacsbugs.donarmstrong.com; 8 Feb 2009 16:00:52 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n18G0nvv016830 for <2234@emacsbugs.donarmstrong.com>; Sun, 8 Feb 2009 08:00:50 -0800 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id F3D3C57E1FC; Sun, 8 Feb 2009 11:01:32 -0500 (EST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 08 Feb 2009 11:23:36 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:25048 Archived-At: 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.