From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Colin Marquardt Newsgroups: gmane.emacs.help Subject: Re: [Newbie] Colorizing keywords Date: Fri, 25 Apr 2003 12:29:27 +0200 Organization: I'd rather call it chaos ... Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1051266982 12416 80.91.224.249 (25 Apr 2003 10:36:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 25 Apr 2003 10:36:22 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 25 12:36:20 2003 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 1990Z2-0003E3-00 for ; Fri, 25 Apr 2003 12:36:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 1990Vj-0001hF-02 for gnu-help-gnu-emacs@m.gmane.org; Fri, 25 Apr 2003 06:32:55 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!gate.alcatel.DE!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 11 Original-NNTP-Posting-Host: gate.alcatel.de (194.113.59.80) Original-X-Trace: fu-berlin.de 1051266569 8497582 194.113.59.80 (16 [131051]) X-Disclaimer: Opinions expressed are not those of Alcatel. User-Agent: Gnus/5.090012 (Oort Gnus v0.12) Emacs/21.2 (sparc-sun-solaris2.8) Cancel-Lock: sha1:+rLl3ZznaRGAFgh4S9a9rc/xx7Y= Cache-Post-Path: news.alcatel.de!unknown@slse6w.stgl.sel.alcatel.de X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/) Original-Xref: shelby.stanford.edu gnu.emacs.help:112307 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8806 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8806 Robert Pollard writes: > Yes I now know about font-lock thanks to you and Phillip Lord. This > takes care of known document types. What about making my own > definitions for colorization? Is it possible to create my own > database of keywords and define the color that is used for each? See e.g. http://www.emacswiki.org/cgi-bin/wiki.pl?AddKeywords HTH, Colin