[comp.emacs] inhibit-local-variables

dsill@RELAY-NSWC.NAVY.MIL (Dave Sill) (12/17/88)

Current discussion on wizards brought up the subject of GNU Emacs'
local variables.  Are you aware that arbitrary Lisp code can be
embedded in a file in such a manner that it is automatically executed
when the file is read in?  Not only that, but there's a variable,
inhibit-local-variables, that, if non-nil, requires confirmation
before executing the commands BUT IT'S DEFAULT IS NIL?

I can understand how such a capability could be quite handy, but
there's no excuse for it to be enabled by default.  The posting
describing the problem on wizards even included an example that ran
kill-emacs.  It boggles the mind to think what could be done with
this.  It wouldn't take much of a lisper to write a viral mail message
or news posting.

In fact, you may be reading such a message right now.

Ha ha.

=========
The opinions expressed above are mine.

local variables:
eval: (message "hello, world")
end: