From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Moore, Mathew L" Newsgroups: gmane.emacs.help Subject: Customizing faces...which method? Date: Thu, 03 Oct 2002 12:53:34 -0400 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <2F05A390F72A0A409390E016D23E45E8042DBDE9@ns-bco-mse4.im.battelle.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: main.gmane.org 1033666416 26300 127.0.0.1 (3 Oct 2002 17:33:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 3 Oct 2002 17:33:36 +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 17x9qw-0006q3-00 for ; Thu, 03 Oct 2002 19:33:34 +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 17x9rJ-0001RW-00; Thu, 03 Oct 2002 13:33:57 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17x9EV-0006vf-00 for help-gnu-emacs@gnu.org; Thu, 03 Oct 2002 12:53:51 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17x9EP-0006ux-00 for help-gnu-emacs@gnu.org; Thu, 03 Oct 2002 12:53:50 -0400 Original-Received: from bclcl1.im.battelle.org ([131.167.1.2]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17x9EP-0006uk-00 for help-gnu-emacs@gnu.org; Thu, 03 Oct 2002 12:53:45 -0400 Original-Received: from ns-bco-scn1.im.battelle.org ([131.167.1.122]) by BCLCL1 (PMDF V5.1-10 #U2779) with SMTP id <01KN892UNNUW95R5Q8@BCLCL1> for help-gnu-emacs@gnu.org; Thu, 3 Oct 2002 12:53:47 EDT Original-Received: from 131.167.1.91 by ns-bco-scn1.im.battelle.org (InterScan E-Mail VirusWall NT); Thu, 03 Oct 2002 12:53:35 -0400 Original-Received: by ws-bco-mse1.milky-way.battelle.org with Internet Mail Service (5.5.2655.55) id ; Thu, 03 Oct 2002 12:53:35 -0400 Original-To: "'help-gnu-emacs@gnu.org'" X-Mailer: Internet Mail Service (5.5.2655.55) 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:2193 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2193 Hello Emacsperts, What is the "proper" way for customizing font-lock face attributes in the initialization file? There seems to be a bunch of ways to do it. I would like to set different foregrounds (colors) depending on whether the foreground is light or dark. When I use the customize tool, it seems to ignore the value of frame-background-mode and sets the selected face attributes for all background states. So I've gone to hand editing the code right below the "do not edit or cut/paste" section that customize writes to my init file. Is there a better way to do this? Every time I read the documentation on faces, my head spins a little. Thanks for your help, --Matt