From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Randy Haddox Newsgroups: gmane.emacs.help Subject: font-lock-keyword Date: Tue, 20 Jul 2004 15:30:54 -0500 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1090355453.4230.353.camel@haddox.ds.amrdec.army.mil> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1090355495 21960 80.91.224.253 (20 Jul 2004 20:31:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Jul 2004 20:31:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 20 22:31:26 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bn1Gn-00023o-00 for ; Tue, 20 Jul 2004 22:31:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bn1JY-0002Wf-6c for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Jul 2004 16:34:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bn1JQ-0002WM-GZ for help-gnu-emacs@gnu.org; Tue, 20 Jul 2004 16:34:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bn1JP-0002WA-Od for help-gnu-emacs@gnu.org; Tue, 20 Jul 2004 16:34:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bn1JP-0002W0-LB for help-gnu-emacs@gnu.org; Tue, 20 Jul 2004 16:34:07 -0400 Original-Received: from [136.205.157.100] (helo=pcgw1.redstone.army.mil) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bn1GN-0008TR-G9 for help-gnu-emacs@gnu.org; Tue, 20 Jul 2004 16:30:59 -0400 Original-Received: from mrdec-owa.ds.amrdec.army.mil (mrdec-exch.amrdec.army.mil [199.209.144.25]) by pcgw1.redstone.army.mil (8.12.9/8.12.9) with ESMTP id i6KKUvdo022725 for ; Tue, 20 Jul 2004 15:30:58 -0500 (CDT) Original-Received: from [10.0.144.50] (10.0.144.50 [10.0.144.50]) by mrdec-owa.ds.amrdec.army.mil with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id P11LRG06; Tue, 20 Jul 2004 15:30:57 -0500 Original-To: help-gnu-emacs@gnu.org X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) 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: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19721 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19721 I am trying to set up a custom .emacs function that will assign individual foreground colors to a list of keywords. For example, I'd like to find the keywords "include", "define", and "assign" in a file and change their foreground colors to "green", "blue", and "purple" respectively. Any help would be much appreciated. Thanks, Randy