From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Sandip Chitale" Newsgroups: gmane.emacs.help Subject: Re: font-lock-keyword Date: Tue, 20 Jul 2004 15:04:36 -0700 Organization: SunSITE.dk - Supporting Open source Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <40fd96f5$0$23873$14726298@news.sunsite.dk> References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1090361250 3316 80.91.224.253 (20 Jul 2004 22:07:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Jul 2004 22:07:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 21 00:07:22 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 1Bn2le-0001zP-00 for ; Wed, 21 Jul 2004 00:07:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bn2oO-0003GJ-N1 for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Jul 2004 18:10:12 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news2.telebyte.nl!newshub2.home.nl!home.nl!sunsite.dk!dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Original-Lines: 22 Original-NNTP-Posting-Host: 208.135.53.4 Original-X-Trace: DXC=^e8Z??Yf8J[0Sc_VCmP]hZYSB=nbEKnk[hO_5[41DAa\kT@GP_Z>?dZhdKRI?85hhZePnId6L[[1V3]E8F@; W4XYaCAZdL\:n9]A>MPlXP3HhR Original-X-Complaints-To: staff@sunsite.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:124384 Original-To: help-gnu-emacs@gnu.org 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:19722 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19722 "Randy Haddox" wrote in message news:mailman.797.1090355649.1960.help-gnu-emacs@gnu.org... > 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 Do: M-x describe-function RET font-lock-add-keywords RET