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

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

Re: cannot activate font-lock-mode


From: Chong Yidong
Subject: Re: cannot activate font-lock-mode
Date: Fri, 01 Jun 2007 00:09:45 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux)

Richard Stallman <address@hidden> writes:

>     >   Font-lock-keywords can not be set any more in the local variables
>     >   section of a file.  Use font-lock-defaults instead.
>
>     I find the change in behavior sufficiently mysterious that I'm
>     not even sure this characterization is correct.
>
> We want to give users a simple and clear recommendation.
> What should it be?

Do we want to give a recommendation at all?  I suggest simply keeping
silent.  Setting font-lock-keywords in file-local variables is a
hack---it's not documented in the Emacs manual, and it's not something
we want to encourage users to do, due to security concerns.  Advanced
users can search the web to find the workarounds discussed in this
thread, or they can simply use hi-lock mode (which *is* documented in
the Emacs manual).





reply via email to

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