From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.help Subject: Re: overriding my own emacs color settings Date: 14 Aug 2002 10:42:39 +0900 Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: Reply-To: Miles Bader NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1029289330 23033 127.0.0.1 (14 Aug 2002 01:42:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 14 Aug 2002 01:42:10 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17enAm-0005zO-00 for ; Wed, 14 Aug 2002 03:42:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17enBh-0001Dw-00; Tue, 13 Aug 2002 21:43:05 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17enBN-0001Ch-00 for help-gnu-emacs@gnu.org; Tue, 13 Aug 2002 21:42:45 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17enBL-0001CV-00 for help-gnu-emacs@gnu.org; Tue, 13 Aug 2002 21:42:44 -0400 Original-Received: from tyo201.gate.nec.co.jp ([202.32.8.214]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17enBK-0001CP-00; Tue, 13 Aug 2002 21:42:43 -0400 Original-Received: from mailgate4.nec.co.jp ([10.7.69.193]) by TYO201.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id g7E1ge626526; Wed, 14 Aug 2002 10:42:40 +0900 (JST) Original-Received: from mailsv.nec.co.jp (mailgate51.nec.co.jp [10.7.69.190]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id g7E1gdI17523; Wed, 14 Aug 2002 10:42:40 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp ([10.30.114.133]) by mailsv.nec.co.jp (8.11.6/3.7W-MAILSV-NEC) with ESMTP id g7E1gbL08885; Wed, 14 Aug 2002 10:42:38 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.10.2+Sun/3.7Wlsi_mx_6.0) with ESMTP id g7E1gws02571; Wed, 14 Aug 2002 10:42:58 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id 8BD6C37C3; Wed, 14 Aug 2002 10:42:39 +0900 (JST) Original-To: help-gnu-emacs@gnu.org System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: Original-Lines: 29 Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:806 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:806 tad@tadland.net (Tad Marko) writes: > Is there any way to tell emacs to either use a different set of colors > on a text console, or just to go b&w and forget about it all together? Emacs has a system to choose different face definitions depending on the display; how to use it depends on how you're redefining faces. If you're using customize-face to change an existing face, you can select `Show All Face Specs' using the `State' button, which will then create a more complex widget that allows this. If you're creating your own faces with `defface', see the documentation for that function; as an example, though, here's the definition of the `region' face: (defface region '((((type tty) (class color)) :background "blue" :foreground "white") (((type tty) (class mono)) :inverse-video t) (((class color) (background dark)) :background "blue3") (((class color) (background light)) :background "lightgoldenrod2") (t :background "gray"))) -Miles -- Occam's razor split hairs so well, I bought the whole argument!