From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mads Jensen Newsgroups: gmane.emacs.help Subject: Re: font-lock problems Date: 19 Sep 2005 18:07:05 +0200 Organization: TDC Totalloesninger Message-ID: <87ll1tt51y.fsf@madamex.madamex.dk> References: <87y85uk5ub.fsf@madamex.madamex.dk> <87irwxxi82.fsf-monnier+gnu.emacs.help@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1127147253 29875 80.91.229.2 (19 Sep 2005 16:27:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Sep 2005 16:27:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 19 18:27:31 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EHOTw-0000KQ-7K for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Sep 2005 18:27:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EHOTt-0002P3-7u for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Sep 2005 12:27:01 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Original-Lines: 19 Original-NNTP-Posting-Host: 80.197.19.230 Original-X-Trace: 1127146176 dread16.news.tele.dk 75964 80.197.19.230:22177 Original-X-Complaints-To: abuse@post.tele.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:134003 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: , 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:29562 Archived-At: Stefan Monnier writes: > > (font-lock-add-keywords > > Major modes shouldn't use font-lock-add-keywords for keywords that are > always highlighted. It would only make sense for things which change > dynamically (i.e. very rare). How am I supposed to get the words colored ? I have more things to colorize, but I hope that it'll be easier to make that after learning how to colorize something in the first place. Someone once pointed me to (info "(elisp)Face foreground") (or something like that), which wasn't of any help to me, as I see it. -- Mads Jensen - mail sent to address ends in /dev/null s/spam/madsj for emailing me gpg: 7E775BDA It is impossible to make anything foolproof because fools are so ingenious.