🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #8152

inhibit-local-variables

#8152
From: Dave Sill
Date: Fri, 16 Dec 1988 20:33
24 lines
1324 bytes
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:
Technical Details
Message-ID: <33614@bbn.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ncrlnk!ncrcae!hubcap!gatech!cwjcc!tut.cis.ohio-state.edu!rutgers!rochester!bbn!gateway!RELAY-NSWC.NAVY.MIL!dsill

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ncrlnk!ncrcae!hubcap!gatech!cwjcc!tut.cis.ohio-state.edu!rutgers!rochester!bbn!gateway!RELAY-NSWC.NAVY.MIL!dsill
From: dsill@RELAY-NSWC.NAVY.MIL (Dave Sill)
Newsgroups: comp.emacs
Subject: inhibit-local-variables
Message-ID: <33614@bbn.COM>
Date: 16 Dec 88 20:33:48 GMT
Sender: news@bbn.COM
Organization: Naval Surface Warfare Center, Dahlgren, VA
Lines: 24