[Top][All Lists]

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

Re: Risky local variable mechanism

From: Chong Yidong
Subject: Re: Risky local variable mechanism
Date: Mon, 13 Feb 2006 20:33:10 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

I've installed the patch changing the way file local variables are
handled.  Please see if there are any problems.

If you encounter any file variables that should be marked safe, so
that Emacs in its default configuration doesn't bother you before
setting it, go ahead and add an appropriate `safe-local-variable'
property.  For major mode-specific variables, this can take place in
the mode's file, because the "mode:" variable is acted on before the
other file variables are read.

One behavior I haven't mentioned is that when a set of file variables
requires confirmation (because the values are not known to be safe, or
the variables are risky), but Emacs is non-interactive, those
variables are just ignored.  I don't think this breaks anything, but
it may be good to keep an eye out.

reply via email to

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