[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: allout patch - more safe-local-variables, plus autoloads
From: |
Stefan Monnier |
Subject: |
Re: allout patch - more safe-local-variables, plus autoloads |
Date: |
Fri, 21 Apr 2006 13:15:50 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> seems to me we're heading down the road of duplicating the mechanisms
> of the custom type system, and that we should be using it.
If you check this mailing-list, you'll see that it all started with Richard
suggesting exactly that and we ended up with `safe-local-variable'.
Now, this doesn't mean it was a bad idea. Just that you can't rely solely
on the custom type mostly because it may include unsafe values.
But, yes, maybe we could add a special predicate that basically says
"consider as safe anything that the custom type accepts". The only problem
I can see with it is that the custom-type is typically not preloaded (even
if you place a ;;;###autoload in front of the defcustom), so we'd either
arrange for it to be preloaded or to force the corresponding package to be
autoloaded whenever the variable appears in a "Local Variables" section.
Stefan
- Re: allout patch - more safe-local-variables, plus autoloads, (continued)
- Re: allout patch - more safe-local-variables, plus autoloads, Stefan Monnier, 2006/04/18
- Re: allout patch - more safe-local-variables, plus autoloads, Richard Stallman, 2006/04/19
- Re: allout patch - more safe-local-variables, plus autoloads, Stefan Monnier, 2006/04/19
- Re: allout patch - more safe-local-variables, plus autoloads, Richard Stallman, 2006/04/19
- Re: allout patch - more safe-local-variables, plus autoloads, Luc Teirlinck, 2006/04/19
- Re: allout patch - more safe-local-variables, plus autoloads, Stefan Monnier, 2006/04/20
- Re: allout patch - more safe-local-variables, plus autoloads, Richard Stallman, 2006/04/21
- Re: allout patch - more safe-local-variables, plus autoloads, Ken Manheimer, 2006/04/21
- Re: allout patch - more safe-local-variables, plus autoloads, David Kastrup, 2006/04/21
- Re: allout patch - more safe-local-variables, plus autoloads, Ken Manheimer, 2006/04/21
- Re: allout patch - more safe-local-variables, plus autoloads,
Stefan Monnier <=
- Re: allout patch - more safe-local-variables, plus autoloads, Ken Manheimer, 2006/04/24
Re: allout patch - more safe-local-variables, plus autoloads, Ken Manheimer, 2006/04/19
- Re: allout patch - more safe-local-variables, plus autoloads, Richard Stallman, 2006/04/20
- autoloads for safe-local-variables (was: allout patch - more safe-local-variables, plus autoloads), Reiner Steib, 2006/04/20
- Re: autoloads for safe-local-variables (was: allout patch - moresafe-local-variables, plus autoloads), Stuart D. Herring, 2006/04/20
- Re: autoloads for safe-local-variables (was: allout patch - more safe-local-variables, plus autoloads), Richard Stallman, 2006/04/21