emacs-devel
[Top][All Lists]
Advanced

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

Re: Risky local variable mechanism


From: Stefan Monnier
Subject: Re: Risky local variable mechanism
Date: Sat, 11 Feb 2006 20:00:31 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> After some further thought, I would be very reluctant to use
> (put 'myvar 'safe-local-variable t) for _any_ variable myvar.  There
> is no reason to give an unscrupulous person any chance to try to play
> games with perverse values.  So just always check that the value makes
> sense.  This also automatically prevents problems if one later allows
> dangerous values and forgets to update the 'safe-local-variables
> property.  Why not something like:

Now that you mention it, it seems obvious.  There's no need for a special
value t.  100% agreement.


        Stefan




reply via email to

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