[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Risky local variable mechanism
From: |
Stefan Monnier |
Subject: |
Re: Risky local variable mechanism |
Date: |
Wed, 08 Feb 2006 01:48:20 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> The automatic/interactive part of what I propose would be things that are
> only set by the user, so custom could be OK for them.
> So I may have misunderstood your proposal. You actually propose an
> alist whose elements look like (myvar nil t), meaning that the set of
> safe values of myvar is (nil t)?
Yes, something like that. Except that it's the list of values that *the
user* has deemed safe (there'd also be a corresponding alist of values the
user has deemed undesirable).
The maintainers/authors wouldn't touch this list. Instead they'd set
special properties on the variable's symbol, which would either be t (to say
that any value is safe) or a predicate which checks a candidate value
for safety.
Stefan
- Re: Risky local variable mechanism, (continued)
- Re: Risky local variable mechanism, Stefan Monnier, 2006/02/08
- Re: Risky local variable mechanism, Chong Yidong, 2006/02/08
- Re: Risky local variable mechanism, Stefan Monnier, 2006/02/08
- Re: Risky local variable mechanism, Chong Yidong, 2006/02/08
- Re: Risky local variable mechanism, Stefan Monnier, 2006/02/08
- Re: Risky local variable mechanism, Luc Teirlinck, 2006/02/08
- Re: Risky local variable mechanism, Stefan Monnier, 2006/02/08
- Re: Risky local variable mechanism, Luc Teirlinck, 2006/02/08
- Re: Risky local variable mechanism, Stefan Monnier, 2006/02/08
- Re: Risky local variable mechanism, Luc Teirlinck, 2006/02/08
- Re: Risky local variable mechanism,
Stefan Monnier <=
- Re: Risky local variable mechanism, Richard M. Stallman, 2006/02/09
- Re: Risky local variable mechanism, Richard M. Stallman, 2006/02/09
- Re: Risky local variable mechanism, Luc Teirlinck, 2006/02/10
- Re: Risky local variable mechanism, Juri Linkov, 2006/02/08
- Disabled commands (was: Risky local variable mechanism), Stefan Monnier, 2006/02/08
- Re: Disabled commands (was: Risky local variable mechanism), Richard M. Stallman, 2006/02/09
- Re: Disabled commands, Stefan Monnier, 2006/02/09
- Re: Disabled commands, Miles Bader, 2006/02/09
- Re: Disabled commands, Eli Zaretskii, 2006/02/10
- Re: Disabled commands, Bill Wohler, 2006/02/13