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: Ken Manheimer
Subject: Re: add info about safe-local-variable to describe-variable
Date: Mon, 15 May 2006 14:40:28 -0400

in light of these new realizations, i'm attaching a new allout patch
and changelog.  reiner, i really like the compromise of using the
simple predicates for safe-local-variable property qualifiers, when
available, and falling back to the lambdas when they're not.  this
patch includes changes that do that, and also has yet another minor
allout fix.
--
ken
http://myriadicity.net


On 5/15/06, Reiner Steib <address@hidden> wrote:
[ Johan didn't cc you on his reply, and I forgot to add you:
  Cf. http://thread.gmane.org/gmane.emacs.pretest.bugs/12009/focus=12023 ]

On Sun, May 14 2006, Johan Bockgård wrote:

> Reiner Steib <address@hidden> writes:
>
>> Emacs 21 doesn't look at the safe-local-variable property at all.
>
> It does.

Thanks for the correction.  If `allout.el' wants to be compatible with
Emacs 21, also `string-or-null-p' shouldn't be used.

Or `booleanp' and `string-or-null-p' might be conditionally, e.g.:

(put 'TeX-PDF-mode 'safe-local-variable (if (fboundp 'booleanp)
                                            'booleanp
                                          '(lambda (x) (memq x '(nil t)))))

Attachment: allout-ChangeLog.txt
Description: Text document

Attachment: allout-patch.txt
Description: Text document


reply via email to

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