vim's got company in emacs
Posted Feb 7, 2003 18:49 UTC (Fri) by
Max.Hyre (subscriber, #1054)
In reply to:
vim - modeline vulnerability by rwmj
Parent article:
vim - modeline vulnerability
emacs is the same, if not worse. (See the node
File Variables in the info docs.) You get
not only to set random buffer-local variables, but also to
evaluate arbitrary lisp code. Ouch!
At least the latter, by default, asks your permission, while
the former prevents access to a number of variables deemed to be
a particular risk.
Unfortunately, auto-setup for a given file is too handy to pass
up, so I make it ask me everytime. Great, if I can avoid getting
complacent about saying `yes'....
(
Log in to post comments)