unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jens Kilian <Jens_Kilian@agilent.com>
Subject: Re: Error message in Makefile mode when font-lock-mode is active.
Date: 07 Jul 2004 13:32:25 +0200	[thread overview]
Message-ID: <sfwu1gm4s6.fsf@socbl180.germany.agilent.com> (raw)
In-Reply-To: mailman.338.1089139565.19614.bug-gnu-emacs@gnu.org

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]

      parent reply	other threads:[~2004-07-07 11:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-05 13:54 Error message in Makefile mode when font-lock-mode is active Jens Kilian
2004-07-06 18:43 ` Kevin Rodgers
     [not found] ` <mailman.338.1089139565.19614.bug-gnu-emacs@gnu.org>
2004-07-07 11:32   ` Jens Kilian [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sfwu1gm4s6.fsf@socbl180.germany.agilent.com \
    --to=jens_kilian@agilent.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).