🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98734

Re: Emacs support for Trojan horses

#98734
From: Ed Vielmetti
Date: Fri, 22 Mar 1991 03:50
24 lines
1633 bytes
In article <3188@charon.cwi.nl> guido@cwi.nl (Guido van Rossum) writes:

   There is a feature of GNU Emacs, enabled by default, which makes a
   very convenient vehicle for Trojan horses.  The facility is described

(setq inhibit-local-variables t)

will turn it off.  this is documented somewhere.

beware though, if you do this and users are used to the other
behavior, they will turn it back on again.  not clear what the right
thing to do is; the gnu philosophy does not tend towards deliberately
crippling powerful tools.

perhaps a compromise would be to have the automatic parser of stuff at
the end of the file only execute a restricted set of commands, even
perhaps just one command which you would overload on a site-specific
basis to do whatever you want.  (e.g. you can set the line width and
the mode but not move the point or do deletes).

-- 
 Msen	Edward Vielmetti
/|---	moderator, comp.archives
	emv@msen.com
Technical Details
Message-ID: <EMV.91Mar21225042@poe.aa.ox.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!emory!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-21 19:50:42 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!emory!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage
From: emv@OX.COM (Ed Vielmetti)
Newsgroups: gnu.emacs.bug
Subject: Re: Emacs support for Trojan horses
Message-ID: <EMV.91Mar21225042@poe.aa.ox.com>
Date: 22 Mar 91 03:50:42 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: OTA Limited Partnership, Ann Arbor MI.
Lines: 24
Approved: bug-gnu-emacs@prep.ai.mit.edu