[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Clarification on using safe-local-variable-values
From: |
Chong Yidong |
Subject: |
Re: Clarification on using safe-local-variable-values |
Date: |
Thu, 09 Mar 2006 09:50:53 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
address@hidden (Kim F. Storm) writes:
> Chong Yidong <address@hidden> writes:
>
>>> # after-save-hook: ((lambda () (build-mail-aliases)))
>
>> That is working as intended. Emacs does not save after-save-hook
>> because that is a risky local variable, and those are never saved.
>
> I don't quite understand...
>
> If the user has said that it is safe to use that specific value
> of that variable, why can't you save that value? The reason why
> the user want to save it, is to avoid the question in the future.
I suggested this some time ago, but nobody responded.
Note that allowing saves for risky local variables is practically
equivalent to eliminating the concept of risky local variables. If
Emacs allows saves for any variable not considered safe, the
`risky-local-variable' property has no special effect (as far as the
loading of local variables is concerned).
- Clarification on using safe-local-variable-values, Andrew M. Scott, 2006/03/08
- Re: Clarification on using safe-local-variable-values, Chong Yidong, 2006/03/08
- Re: Clarification on using safe-local-variable-values, Andrew M. Scott, 2006/03/08
- Re: Clarification on using safe-local-variable-values, Chong Yidong, 2006/03/08
- Re: Clarification on using safe-local-variable-values, Andrew M. Scott, 2006/03/08
- Re: Clarification on using safe-local-variable-values, Chong Yidong, 2006/03/08
- Re: Clarification on using safe-local-variable-values, Kim F. Storm, 2006/03/09
- Re: Clarification on using safe-local-variable-values,
Chong Yidong <=
- Re: Clarification on using safe-local-variable-values, Luc Teirlinck, 2006/03/10
- Re: Clarification on using safe-local-variable-values, Richard Stallman, 2006/03/11
- Re: Clarification on using safe-local-variable-values, Kim F. Storm, 2006/03/11
Re: Clarification on using safe-local-variable-values, Richard Stallman, 2006/03/09
Re: Clarification on using safe-local-variable-values, Richard Stallman, 2006/03/09