🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98743

Re: Emacs support for Trojan horses

#98743
From: Daniel Jacobson
Date: Sat, 23 Mar 1991 03:05
27 lines
1987 bytes
>>>>> On 21 Mar 91 13:43:58 GMT, guido@cwi.nl (Guido van Rossum) said:

Guido> There is a feature of GNU Emacs, enabled by default, which makes a
Guido> very convenient vehicle for Trojan horses.  The facility is described
Guido> in the 'file variables' section of the info tree, and lets you execute
Guido> any Emacs Lisp code when a file is loaded into a buffer. [...]

We went thru this a few years ago, and here's the variable invented to
check this, and here's what I set it to [emacs 18.55]

(describe-variable (quote inhibit-local-variables))

inhibit-local-variables's value is t

Documentation:
*Non-nil means query before obeying a file's local-variables list.
This applies when the local-variables list is scanned automatically
after you find a file.  If you explicitly request such a scan with
M-x normal-mode, there is no query, regardless of this variable.

Now this brings out another point.  Certainly somebody from GNU sent
Guido the answer by e-mail already.  But all we see on gnu.emacs.bugs
newsgroup is the question.  I'm hoping that we all can see the answers
posted too more often... they're as least as valuable as the
questions...
-- 
Dan_Jacobson@ATT.COM  Naperville IL USA  +1 708 979 6364
Technical Details
Message-ID: <DANJ1.91Mar22210521@cbnewse.ATT.COM>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!lll-winken!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,20b72a5f29845d78
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-03-23 09:30:34 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!lll-winken!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage
From: danj1@ihlpz.att.com (Daniel Jacobson)
Newsgroups: gnu.emacs.bug
Subject: Re: Emacs support for Trojan horses
Message-ID: <DANJ1.91Mar22210521@cbnewse.ATT.COM>
Date: 23 Mar 91 03:05:34 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: Dan_Jacobson@att.com
Distribution: gnu
Organization: AT&T-BL, Naperville IL, USA
Lines: 27
Approved: bug-gnu-emacs@prep.ai.mit.edu