From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Change syntax highlighting colors for C source files Date: Tue, 30 Aug 2005 07:50:17 +0300 Message-ID: References: <1125348151.43137337b53df@webmail.sas.upenn.edu> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1125377730 7554 80.91.229.2 (30 Aug 2005 04:55:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Aug 2005 04:55:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 30 06:55:29 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E9y8b-000659-VQ for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Aug 2005 06:54:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E9yCj-0002xi-7j for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Aug 2005 00:58:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E9yB6-0002Xu-5S for help-gnu-emacs@gnu.org; Tue, 30 Aug 2005 00:56:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E9yAy-0002Tx-IS for help-gnu-emacs@gnu.org; Tue, 30 Aug 2005 00:56:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E9yAy-0002Sn-57 for help-gnu-emacs@gnu.org; Tue, 30 Aug 2005 00:56:48 -0400 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E9y6w-0005JX-Mc for help-gnu-emacs@gnu.org; Tue, 30 Aug 2005 00:52:38 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-153-186.inter.net.il [80.230.153.186]) by nitzan.inter.net.il (MOS 3.6.5-GR) with ESMTP id BHF22900 (AUTH halo1); Tue, 30 Aug 2005 07:50:13 +0300 (IDT) Original-To: help-gnu-emacs@gnu.org In-reply-to: <1125348151.43137337b53df@webmail.sas.upenn.edu> (message from Bob Johnson on Mon, 29 Aug 2005 16:42:31 -0400) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:29080 Archived-At: > Date: Mon, 29 Aug 2005 16:42:31 -0400 > From: Bob Johnson > > How would I change some of the syntax highlighting colors in Emacs? For example, > the argument of a printf statement in a C source file is highlighted in bright > pink. Since bright pink on a white background has very little contrast, I would > like to change the highlighting to something darker. I couldn't find where these > options were located in the Customize Emacs menu. You want to change the font-lock-string face. Note that this change is a general one: it will affect _all_ strings Emacs fontifies in _any_ language, not only in C.