Discussion:
Local variables question
(too old to reply)
Andreas Davour
2008-01-14 05:34:01 UTC
Permalink
Hi

I've recently gotten a lot of these messages:

----------8<----------8<------------
local variables list in DNA.lisp
contains values that may not be safe (*).

Do you want to apply it? You can type
y -- to apply the local variables list.
n -- to ignore the local variables list.
! -- to apply the local variables list, and permanently mark these
values (*) as safe (in the future, they will be set
automatically.)

* Syntax : ANSI-Common-Lisp
* Base : 10
---------->8---------->8------------

Some of the variables are really innocent ones and I haven't seen any
message like this before.

Was there a list of safe variables before or have the newest emacs
started being paranoid? Is there a way of getting rid of this? It's
quite annoying to have that show up every time I visit a new file.

/andreas
--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
steve gonedes
2021-04-25 15:50:41 UTC
Permalink
Post by Andreas Davour
Hi
----------8<----------8<------------
local variables list in DNA.lisp
contains values that may not be safe (*).
Do you want to apply it? You can type
y -- to apply the local variables list.
n -- to ignore the local variables list.
! -- to apply the local variables list, and permanently mark these
values (*) as safe (in the future, they will be set
automatically.)
* Syntax : ANSI-Common-Lisp
* Base : 10
---------->8---------->8------------
Some of the variables are really innocent ones and I haven't seen any
message like this before.
Was there a list of safe variables before or have the newest emacs
started being paranoid? Is there a way of getting rid of this? It's
quite annoying to have that show up every time I visit a new file.
/andreas
The variables are <enable-local-eval> and <enable-local-eval>.

(setq enable-local-eval t
enable-local-variables :all)

You might want to add the following to your dot-emacs as well.

(put 'narrow-to-region 'disabled nil)
(put 'erase-buffer 'disabled nil)

Yeah, these suckers popped up again after v19.20 or something.

Loading...