From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jens Kilian Newsgroups: gmane.emacs.bugs Subject: Re: Error message in Makefile mode when font-lock-mode is active. Date: 07 Jul 2004 13:32:25 +0200 Organization: Agilent Technologies R&D and Marketing GmbH & Co. KG Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1089199989 4653 80.91.224.253 (7 Jul 2004 11:33:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Jul 2004 11:33:09 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 07 13:32:59 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 1BiAfb-0000cX-00 for ; Wed, 07 Jul 2004 13:32:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BiAhf-0007SI-Ah for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Jul 2004 07:35:07 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!prodigy.com!prodigy.com!agilent.com!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 36 Original-NNTP-Posting-Host: cswreg.cos.agilent.com Original-X-Trace: cswtrans.cos.agilent.com 1089199946 26724 130.29.154.45 (7 Jul 2004 11:32:26 GMT) Original-X-Complaints-To: usenet@cswtrans.cos.agilent.com Original-NNTP-Posting-Date: Wed, 7 Jul 2004 11:32:26 +0000 (UTC) X-Bot-Bait: Bait User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Cache-Post-Path: cswreg.cos.agilent.com!unknown@socbl180.germany.agilent.com X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Original-Xref: shelby.stanford.edu gnu.emacs.bug:35626 Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:8372 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:8372 Kevin Rodgers writes: > Jens Kilian wrote: > > In GNU Emacs 21.3.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars) > > of 2003-05-22 on porky.devel.redhat.com > ... > > I have the following settings for font-lock-mode in my ~/.emacs file: > > > > (setq font-lock-support-mode 'lazy-lock-mode) > > (setq font-lock-maximum-decoration t) > > (global-font-lock-mode t) > > > > When I load a Makefile containing an "include" statement, like the following: > > ---8<-------------------------------------------------------------------8<--- > > include foo > > ---8<-------------------------------------------------------------------8<--- > > > > I get the error message: > > > > (error No match 2 in highlight (2 font-lock-variable-name-face)) > > I can't replicate that here: GNU Emacs 21.3.1 (i386-pc-solaris2.7, X > toolkit) of 2003-04-24 on briard. > > Does it happen if you start emacs with -q --no-site-file, and evaluate > those forms in the *scratch* buffer? Yes. The culprit seems to be the lazy-lock-mode, if I use jit-lock-mode the problem goes away. (I.e., I have a workaround now :-) Bye, Jens. -- mailto:jjk@acm.org phone:+49-7031-464-7698 (TELNET 778-7698) http://www.bawue.de/~jjk/ fax:+49-7031-464-7351 As the air to a bird, or the sea to a fish, so is contempt to the contemptible. [Blake]