emacs-devel
[Top][All Lists]
Advanced

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

Re: Risky local variable mechanism


From: LENNART BORGMAN
Subject: Re: Risky local variable mechanism
Date: Thu, 02 Feb 2006 09:14:18 +0100

From: "Richard M. Stallman" <address@hidden>

>    If you want to be really restrictive, you can introduce a list of
>    `safe-local-variables', and prompt for anything outside that 
> list (the
>    prompt could have an additional choice, [(a) always allow this
>    variable], a variable to the list).
> 
> Perhaps that is the best solution.  However, if only 2% of all file
> local variable settings are outside that list, it will still cause
> annoyance to a lot of people.
> 
> So let's first see if some more general method based on custom types
> can be made to work.  If that can't be made to work, we can fall back
> on this approach.

It is much more annoying if there is a possible security hole. Please follow 
Stefans advice on this. (To have a small set of known safe variables.)





reply via email to

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