From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: need help customizing font-lock colors in syntax highlighting (fortran) Date: Tue, 1 Apr 2008 10:59:14 +0200 Message-ID: <8DEFBBCC-9599-486F-B510-66EE8B38D47F@Web.DE> References: <99f4b8df-7ff4-4098-81b0-2d54b732cb74@t54g2000hsg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1207040786 26657 80.91.229.12 (1 Apr 2008 09:06:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Apr 2008 09:06:26 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: bcbarnes@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 01 11:06:58 2008 Return-path: Envelope-to: geh-help-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 1JgcOp-00019q-Gc for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Apr 2008 11:03:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JgcOD-0006WG-E8 for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Apr 2008 05:02:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JgcL0-0005UY-5Y for help-gnu-emacs@gnu.org; Tue, 01 Apr 2008 04:59:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JgcKv-0005Sq-95 for help-gnu-emacs@gnu.org; Tue, 01 Apr 2008 04:59:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JgcKs-0005SQ-Lx for help-gnu-emacs@gnu.org; Tue, 01 Apr 2008 04:59:19 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JgcKs-0007il-5I for help-gnu-emacs@gnu.org; Tue, 01 Apr 2008 04:59:18 -0400 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate02.web.de (Postfix) with ESMTP id 84B5DD70FE95; Tue, 1 Apr 2008 10:59:16 +0200 (CEST) Original-Received: from [195.4.204.45] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.109 #226) id 1JgcKq-00042C-00; Tue, 01 Apr 2008 10:59:16 +0200 In-Reply-To: <99f4b8df-7ff4-4098-81b0-2d54b732cb74@t54g2000hsg.googlegroups.com> X-Mailer: Apple Mail (2.753) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX18SGgBiXwfX+QuLwxLrQiSeJKNGlHhD5aHkEGED jR5qAL5FA3KazzyWnFGMIMsWja020pzJ78ZYNPkvS67Z+BLnuB 4MUfm7gmnGExdAnDssoA== X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:52938 Archived-At: Am 31.03.2008 um 21:41 schrieb bcbarnes: > In the F90 mode, these commands are all highlighted in the > same color. I find this to be undesirable, but I'm not sure how to > change it. Poking around the f90.el source and google tells me it > will involve something like set-face-foreground of a font-lock mode, > but I don't know what to do. In case you want to change the colour, you can start with C-u C-x = on a character in the unwanted face (font and colour). A *Help* buffer opens, allowing you to customise the settings in the "paragraph" where it describes the text properties. In your case it will fail, because apparently different sorts of key words are mixed. So you would change the face for all of them again, for the whole set or "mixed" case. -- Greetings Pete A morning without coffee is like something without something else.