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

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

Re: font-lock fails


From: Eli Zaretskii
Subject: Re: font-lock fails
Date: Sun, 10 Feb 2002 14:32:31 +0200 (IST)

On Sun, 10 Feb 2002, Roland Winkler wrote:

> (5) Font-lock fails towards the end of the file, i.e., font-lock
>     chooses the wrong faces. For example, the comments between the
>     defcustoms are highlighted like a string.

That's because you have a parenthesis in column zero there:

>   "*Assoc list specifying the available executables.
> Each item has the form \(RELEASE MAPLE MAPLE-INIFILE MINT\)
> where RELEASE is the Maple release corresponding to the
> executables MAPLE and MINT.  MAPLE must be the command line
> (non-GUI) version of Maple.  MAPLE-INIFILE is the maple

For efficiency reasons, Emacs puts a lot of faith in parentheses that are 
in column zero.  Escape them with a backslash, and the problem will go 
away.  It's in PROBLEMS, btw (which explains how to solve this if you 
don't want to escape the parens).



reply via email to

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