On Sun, Feb 22 2009, Marcus Harnisch wrote:
"Eric M. Ludlam" <eric(a)siege-engine.com> writes:
> I checked the doc, and Emacs 21, and XEmacs 21.4 don't have the nifty
>:safe feature. For them :safe means to ask the user. At the same
> time, only Emacs 23 seems to indicate that this variable controls
> looking up modes in a -*- line. Perhaps that is an oversight in older
> version of the doc?
> It would be handy if an XEmacs user could look up any options on newer
> versions of XEmacs.
XEmacs 21.5.28 doesn't have it and neither does Emacs 22.2.1 (the
latter from Ubuntu 8.10).
Ugh. I've got Emacs 22.3.1. I'm assuming that's where :safe was first
introduced. I did a quick check and it looks like -*- mode lines are
parsed when enable-local-variables is set to :safe.
Obviously the number one priority is ensuring that parsing works correctly
on all platforms. Could we do a bit of inspection and do a best choice
based on the user's platform. Barring that, how about exposing this so a
knowledgeable user can specify a value if they choose.
XEmacs-Beta mailing list