[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unsafe file variables...
From: |
Kim F. Storm |
Subject: |
Re: Unsafe file variables... |
Date: |
05 Apr 2004 02:44:53 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
David Kastrup <address@hidden> writes:
> Ok, I have had an idea which might be stupid or not. And it might
> also have political implications which I am too stupid to see. I just
> want to put it out.
>
> Emacs warns about potentially unsafe file variables and stuff, like
>
> ;;; Local variables:
> ;;; eval: (put 'preview-defmacro 'lisp-indent-function 'defun)
> ;;; end:
>
> Now it is a nuisance to get this question each time, and it is not
> feasible to disable the question permanently due to security reasons.
There is already a simple solution to this in CVS emacs:
Just add it to safe-local-eval-forms (e.g. via customize).
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: Unsafe file variables..., (continued)
- Re: Unsafe file variables..., David Kastrup, 2004/04/04
- Re: Unsafe file variables..., Stefan Monnier, 2004/04/04
- Re: Unsafe file variables..., David Kastrup, 2004/04/04
- Re: Unsafe file variables..., Stefan Monnier, 2004/04/04
- Re: Unsafe file variables..., David Kastrup, 2004/04/05
- Re: Unsafe file variables..., Richard Stallman, 2004/04/05
- Re: Unsafe file variables..., Kim F. Storm, 2004/04/05
- Re: Unsafe file variables..., Richard Stallman, 2004/04/06
- Re: Unsafe file variables..., Kevin Rodgers, 2004/04/07
- Re: Unsafe file variables..., Kim F. Storm, 2004/04/05
Re: Unsafe file variables...,
Kim F. Storm <=