[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Additional safe-local-variables (was: turn off safe-local-variable-v
From: |
Richard Stallman |
Subject: |
Re: Additional safe-local-variables (was: turn off safe-local-variable-values checking) |
Date: |
Thu, 06 Apr 2006 13:51:20 -0400 |
Maybe it would make sense to introduce `string-or-null-p' to avoid
using (lambda (a) (or (stringp a) (null a))) in the autoloads.
Please do.
BTW, wouldn't it be possible to integrate the safe-local-variable
properties into defcustom?
Yes, I think we should. We can have a keyword :safe whose value can
be either t (all values permitted by the custom type are safe) or a
predicate. When it is t, I think Emacs should really check that the
local value fits the custom type.
However, one inconvenience in using this is that safety specified
in this way will only work once the defcustom is loaded. For minor modes,
we will still need to do it differently (such as with a `put' call
in an autoload cookie).
- Re: turn off safe-local-variable-values checking, (continued)
- Re: turn off safe-local-variable-values checking, Andreas Schwab, 2006/04/03
- Re: turn off safe-local-variable-values checking, Richard Stallman, 2006/04/03
- Re: turn off safe-local-variable-values checking, Andreas Schwab, 2006/04/04
- Re: turn off safe-local-variable-values checking, Reiner Steib, 2006/04/04
- Re: turn off safe-local-variable-values checking, Stefan Monnier, 2006/04/04
- Re: turn off safe-local-variable-values checking, Reiner Steib, 2006/04/05
- Re: turn off safe-local-variable-values checking, Stefan Monnier, 2006/04/05
- Re: turn off safe-local-variable-values checking, Chong Yidong, 2006/04/05
- Re: turn off safe-local-variable-values checking, Richard Stallman, 2006/04/05
- Additional safe-local-variables (was: turn off safe-local-variable-values checking), Reiner Steib, 2006/04/06
- Re: Additional safe-local-variables (was: turn off safe-local-variable-values checking),
Richard Stallman <=
- Re: Additional safe-local-variables, Reiner Steib, 2006/04/06
- Re: Additional safe-local-variables, Richard Stallman, 2006/04/06
- Re: Additional safe-local-variables, Reiner Steib, 2006/04/07
- Re: Additional safe-local-variables, Richard Stallman, 2006/04/08
- Re: turn off safe-local-variable-values checking, Richard Stallman, 2006/04/04
- Re: turn off safe-local-variable-values checking, Miles Bader, 2006/04/04
- Re: turn off safe-local-variable-values checking, Richard Stallman, 2006/04/05
Re: turn off safe-local-variable-values checking, Shug Boabby, 2006/04/02