From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alex Schroeder Newsgroups: gmane.emacs.help Subject: Re: Default colors 'list-colors-display' Date: Tue, 08 Apr 2003 20:14:47 +0200 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87he98eu08.fsf@gnu.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1049825897 18662 80.91.224.249 (8 Apr 2003 18:18:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 8 Apr 2003 18:18:17 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 08 20:18:15 2003 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 192xfG-0004ot-00 for ; Tue, 08 Apr 2003 20:17:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 192xda-0002fi-06 for gnu-help-gnu-emacs@m.gmane.org; Tue, 08 Apr 2003 14:16:02 -0400 Original-Newsgroups: gnu.emacs.help Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEX///89Pjl6hX25yeD/ 373gtJdgTEW6a14sduMzR7J4AAAAAXRSTlMAQObYZgAAAeJJREFUeNp1lMGSmzAMhvMKolOaa5wB cg3p5gGy8va8xCZn0658LlPg3Bw6PHZlArbZ2XUOJHz+f1mylM3pk7UJX8t/zf4DUOYAlJJnHuyA ARgCIVagNLCsZA0grMkuBrQQ5/aRAtII7GIA+f4TAM11AWYN4OcMntwPiuh+E2I3Q0GUphNNF3Di /UU2DD29UzxB2rZZpat+8iQKVkmRaV7VtJ988BPYttMaUebrU5XQuP0KsTJrkAoHkEH+DnQzmCVf PJiskL3kbq0goW996zR1DLhWqb0RtBniS5ygK2Jy6/lsCl8M57FU1135V6xTOyi8pDYDfx85mF+o h46DXKj7QQsoBdEflC5DvGRKZl4hsp5fToAfOlytEAPOCn6qAIqiUVJ2DJRTBnAuLGd+69Alj/Ia QG8s6dubcgJVBkVJ9I3rOExBpIgURG9aYuWKJesmKE5Edpjy49B5E81Hbsg+7hDxdxKBM1vNV/Vs ksiqtFxA5cD3V4itarKt5sPK51cDIjouWO4rKZE7y8A9gCM0mVaSo5ir2R68FTc194l7XycCxoNX HF23Z7oSBYkdHILVY4yaPDdJ9Xc7enD0Y2mSHMZxvM/AjxIBg/soZnD2fwrcXrBlhXiAZYweQzje +XP6D3vk9qXUjAFlAAAAAElFTkSuQmCC User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 Cancel-Lock: sha1:2bx/K4McgACoNHMQnZRA7Bbor/0= Original-NNTP-Posting-Host: 217.162.234.20 Original-X-Trace: news.swissonline.ch 1049825687 217.162.234.20 (8 Apr 2003 20:14:47 +0200) Original-Lines: 32 Original-X-Complaints-To: abuse@swissonline.ch Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!snoopy.risq.qc.ca!news.imp.ch!news.imp.ch!news-zh.switch.ch!news.swissonline.ch!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:111792 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8294 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8294 brian.auld@adic.com writes: > I have gone cross-eyed the past day trying to find the answer to my > question, but my efforts have not beared fruit. Hopefully someone can > answer this for me. > > I'm trying to add/change colors to my > list-colors-display'. Ultimately, I want to get rid of the color > cyan', and replace it with something else, as 'cyan' is next to > impossible to read against a white background. > > Specifically it is for color coding 'C'. All other colors in my > list-colors-display' are used to highlight some part of the 'C' code, > so if I simply change the face where cyan is used ('C' keywords) to > another defined color, I will be duplicated its use with something > else. > > I therefore want to add a color that will ultimately show up when I do > a 'list-colors-display'. It appears that when I go into a M-x > customize ... I can only change colors to something that is defined > under 'list-colors-display'. > > Can someone point me to how I can add color definitions to my emacs. I think you are mixing up some things. When your C source is hilighted, then so-called "faces" are used. A face specifies size, font-family, foreground-color, background-color, etc. So it seems to me that you need to run M-x list-faces-display, find the face whose name starts with font-lock-..., remember its name, and then run M-x customize-face to change it. Alex.