[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Risky local variable mechanism
From: |
Richard M. Stallman |
Subject: |
Re: Risky local variable mechanism |
Date: |
Sat, 11 Feb 2006 11:44:10 -0500 |
What you've implemented is the sort of thing I had in mind.
It seems basically right. Here are a few comments on minor details.
! (or (= char ?!)
! (= char ? )
It would be better to use \s.
+ (defcustom safe-local-variables nil
I would call it safe-local-variable-values.
+ "Alist of safe local variables.
It is not really an alist. In an alist, the car of an element
is a key, so only the first element with a given car really counts.
This is a list of variable-value pairs.
+ :type 'alist)
It is ok to use `alist' as the custom type if it gives the right
results in the custom buffer, as it seems to do.
But it might be cleaner to do this another way just to avoid
misleading someone.
By the way, this variable should be marked risky.
- Re: Risky local variable mechanism, (continued)
- Re: Risky local variable mechanism, Luc Teirlinck, 2006/02/10
- Re: Risky local variable mechanism, Stefan Monnier, 2006/02/11
- Re: Risky local variable mechanism, Richard M. Stallman, 2006/02/11
- Re: Risky local variable mechanism, Luc Teirlinck, 2006/02/10
- Re: Risky local variable mechanism, Stefan Monnier, 2006/02/11
- Re: Risky local variable mechanism, Luc Teirlinck, 2006/02/11
- Re: Risky local variable mechanism,
Richard M. Stallman <=
- Re: Risky local variable mechanism, Chong Yidong, 2006/02/13
- Re: Risky local variable mechanism, Luc Teirlinck, 2006/02/13
- Re: Risky local variable mechanism, Richard M. Stallman, 2006/02/14
- Re: Risky local variable mechanism, Luc Teirlinck, 2006/02/13
- Re: Risky local variable mechanism, Luc Teirlinck, 2006/02/13
- Re: Risky local variable mechanism, Luc Teirlinck, 2006/02/13
- Re: Risky local variable mechanism, Chong Yidong, 2006/02/13
- Re: Risky local variable mechanism, Luc Teirlinck, 2006/02/13
- Re: Risky local variable mechanism, Chong Yidong, 2006/02/13
- safe-local-variable additions (was: Risky local variable mechanism), Reiner Steib, 2006/02/16