Bruno Wolff III <[EMAIL PROTECTED]> writes on 30 March 1999 at 17:14:16 -0600
 > On Tue, Mar 30, 1999 at 06:18:24AM -0800,
 >   Russ Allbery <[EMAIL PROTECTED]> wrote:
 > > Paul Farber <[EMAIL PROTECTED]> writes:
 > > 
 > > > Hmmm, Windows has the ability to write a script that ANYONE can run that
 > > > will delete the disk.  Hmmm.  Why should a Word Processor EVER have the
 > > > ability to make system calls?
 > > 
 > > I assume you've deleted vi and emacs from your system?  After all, they
 > > allow system calls.  Hell, so does ed.  pico allows shell escapes.  What
 > > *do* you use for an editor?
 > 
 > This isn't the same thing. They don't run commands imbedded in the the
 > documents. The shell escapes have to be run by the person using the
 > editor.

Oh yeah?  

I couldn't live without emacs; I run it on Linux, Solaris,
Windows 95, and Windows NT, and I have my bash command line editing
configured in emacs mode.  Heck, I've reconfigured Word to use basic
emacs movement commands, they're so deeply etched into my spinal
cord.  However, it's quite easy to put code into a document that will
be run when you open it in emacs.  (Local variables lists)

As it says in the man page:

       The `eval' "variable," and certain actual variables, create a
    special risk; when you visit someone else's file, local variable
    specifications for these could affect your Emacs in arbitrary
    ways.  Therefore, the option `enable-local-eval' controls whether
    Emacs processes `eval' variables, as well variables with names
    that end in `-hook', `-hooks', `-function' or `-functions', and
    certain other variables.  The three possibilities for the option's
    value are `t', `nil', and anything else, just as for
    `enable-local-variables'.  The default is `maybe', which is
    neither `t' nor `nil', so normally Emacs does ask for confirmation
    about file settings for these variables.
-- 
David Dyer-Bennet                                              [EMAIL PROTECTED]
http://www.ddb.com/~ddb (photos, sf) Minicon: http://www.mnstf.org/minicon
http://ouroboros.demesne.com/ The Ouroboros Bookworms
Join the 20th century before it's too late!

Reply via email to