From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: jester@panix.com (Jesse Sheidlower) Newsgroups: gmane.emacs.help Subject: Re: Background colors in font-lock-keywords Date: 28 May 2003 12:09:43 -0400 Organization: Oxford University Press Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <5lllwscv9f.fsf@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1054139135 23978 80.91.224.249 (28 May 2003 16:25:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 28 May 2003 16:25:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed May 28 18:25:31 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 19L3eU-0005ea-00 for ; Wed, 28 May 2003 18:19:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19L3Vg-0006tN-AY for gnu-help-gnu-emacs@m.gmane.org; Wed, 28 May 2003 12:10:40 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!panix!panix2.panix.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: panix2.panix.com Original-X-Trace: reader1.panix.com 1054138183 24282 166.84.1.2 (28 May 2003 16:09:43 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Wed, 28 May 2003 16:09:43 +0000 (UTC) Original-Xref: shelby.stanford.edu gnu.emacs.help:113791 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:10285 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10285 In article <5lllwscv9f.fsf@rum.cs.yale.edu>, Stefan Monnier wrote: >>>>>> "Jesse" == Jesse Sheidlower writes: >> ("&[a-zA-z]+;" . (0 my-entity-face t)) > ^^ >This tells font-lock to override which ever face was there before. >See C-h v font-lock-keywords RET. >You want to use `append' or `prepend' instead. Thanks to you and the other poster who pointed this out. I did look this up, but in the Reference Manual, which discussed it in more confusing terms, and my experiment with it didn't work. It is much more clear in the regular doc string, which I should have checked first, and it seems it was an error in my experiment that kept it from working. Jesse Sheidlower