From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter S Galbraith Newsgroups: gmane.emacs.help Subject: Re: adding font-lock rules Date: Fri, 01 Nov 2002 10:22:04 -0500 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <20021101152204.7B6B6297CD@mixing.qc.dfo.ca> References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1036169245 19191 80.91.224.249 (1 Nov 2002 16:47:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 1 Nov 2002 16:47:25 +0000 (UTC) Cc: help-gnu-emacs@gnu.org 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 187ex9-0004zN-00 for ; Fri, 01 Nov 2002 17:47:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 187exo-0007XW-00; Fri, 01 Nov 2002 11:48:04 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 187ex3-0007LD-00 for help-gnu-emacs@gnu.org; Fri, 01 Nov 2002 11:47:17 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 187dmW-00023L-00 for help-gnu-emacs@gnu.org; Fri, 01 Nov 2002 10:32:34 -0500 Original-Received: from gnudist.gnu.org ([199.232.41.7]) by monty-python.gnu.org with esmtp (Exim 4.10) id 187dmU-00021A-00 for help-gnu-emacs@gnu.org; Fri, 01 Nov 2002 10:32:18 -0500 Original-Received: from mixing.qc.dfo-mpo.gc.ca ([216.226.40.21] helo=mixing.qc.dfo.ca) by gnudist.gnu.org with esmtp (Exim 4.10) id 187dgA-0003zz-00 for help-gnu-emacs@gnu.org; Fri, 01 Nov 2002 10:25:46 -0500 Original-Received: from mixing.qc.dfo.ca (localhost [127.0.0.1]) by mixing.qc.dfo.ca (Postfix) with ESMTP id 7B6B6297CD; Fri, 1 Nov 2002 10:22:04 -0500 (EST) Original-To: Sven Utcke In-Reply-To: Message from Sven Utcke of "01 Nov 2002 15:03:24 +0100." X-Mailer: mh-e 6.1+cvs; nmh 1.0.4+dev; Emacs 21.2 X-Face: "#bYm%*(4JuXAkouMxaLz|M2dbXUFnQ"IRX)zpsiM"(B}`#|_b548$VB}5L&VIck1F#FNc' rsASk0?-/gFp2qzM>0]`Jc}Qd<8[l)N7{8%qMN~{|DS.ME.$ Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3207 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3207 Sven Utcke wrote: > I would like to add my own font-look rules to an existing mode along > the lines of: > > * in mode xxx, whenever you see yyy, colour it red. See the function font-lock-add-keywords. Peter