bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error message in Makefile mode when font-lock-mode is active.


From: Jens Kilian
Subject: Re: Error message in Makefile mode when font-lock-mode is active.
Date: 07 Jul 2004 13:32:25 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Kevin Rodgers <ihs_4664@yahoo.com> 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]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]