[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should `auto-fill-function' be a safe local variable?
From: |
Leo |
Subject: |
Re: Should `auto-fill-function' be a safe local variable? |
Date: |
Wed, 07 Jan 2009 04:01:58 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
On 2009-01-06 21:39 +0000, Stefan Monnier wrote:
>> I have to disable auto-fill-mode for one file and it seems setting
>> auto-fill-function to nil in the file's local variables is a good
>> way. However, since auto-fill-function is currently marked risky, it
>> requires a confirmation each time the file is opened.
>
> How do you confirm? The confirmation dialog offers you to make your
> choice stick, so that subsequent uses of this settings are accepted
> without confirmation. Did you use that?
There is no such option.
,----
| The local variables list in example.tex
| contains variables that are risky (**).
|
| Do you want to apply it? You can type
| y -- to apply the local variables list.
| n -- to ignore the local variables list.
|
| ** auto-fill-function : nil
`----
>> So should `auto-fill-function' be a safe local variable?
>
> Of course not. It's safe to set it to nil, but not to set it to some
> arbitrary value such as (lambda (&rest) (wreak-havoc)).
Maybe value nil should be marked safe as RMS suggested in another thread.
> Stefan
Cheers,
--
.: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :.
- Should `auto-fill-function' be a safe local variable?, Leo, 2009/01/06
- Re: Should `auto-fill-function' be a safe local variable?, Stefan Monnier, 2009/01/06
- Re: Should `auto-fill-function' be a safe local variable?,
Leo <=
- Re: Should `auto-fill-function' be a safe local variable?, Richard M Stallman, 2009/01/06
- Re: Should `auto-fill-function' be a safe local variable?, Stefan Monnier, 2009/01/06
- Re: Should `auto-fill-function' be a safe local variable?, Richard M Stallman, 2009/01/08
- Re: Should `auto-fill-function' be a safe local variable?, Leo, 2009/01/09
- Re: Should `auto-fill-function' be a safe local variable?, Richard M Stallman, 2009/01/09
- Re: Should `auto-fill-function' be a safe local variable?, Leo, 2009/01/09
- Re: Should `auto-fill-function' be a safe local variable?, Richard M Stallman, 2009/01/10
- Re: Should `auto-fill-function' be a safe local variable?, Leo, 2009/01/10
- Re: Should `auto-fill-function' be a safe local variable?, Richard M Stallman, 2009/01/11
- Re: Should `auto-fill-function' be a safe local variable?, Reiner Steib, 2009/01/11