emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: add info about safe-local-variable to describe-variable


From: Stefan Monnier
Subject: Re: add info about safe-local-variable to describe-variable
Date: Thu, 11 May 2006 12:43:16 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>> i deliberately chose to use the form that defines the variables in the
>> file's bytecode, as well as in loaddefs, because i want to be able to
>> use the most recent version of allout in versions of emacs that are
>> not built with allout (eg, the old emacs version i'm running on my
>> zaurus).  i would like to be able to use the same source code in such
>> cases.  (i imagine other people might be in the same situation.)

> AFAICS, Emacs 21 doesn't care about the safe-local-variable properties
> in the first place, so you there no need for backward compatibility
> here.  (I don't think we should try to be backward compatible with
> older CVS versions.)

I think in the future it will make sense also to separately install the most
recent version of allout.el even in conjunction with Emacs-22.  So I agree
with Ken's motivation and think that keeping the `put' outside of the
comment is the right thing to do.

> For Emacs 22, Richard recommended not to execute it again when the
> file is loaded, i.e. use...

> ;;;###autoload(put '... 'safe-local-variable ...)

Yes, but if the package is also distributed separately, the other form makes
more sense.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]