[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mode in -*- line
From: |
Richard Stallman |
Subject: |
Re: mode in -*- line |
Date: |
Sun, 08 May 2005 18:45:59 -0400 |
Firstly, if normal-mode is called interactively, it unconditionally
processes all local variables in the -*- line and the local variables
list _except_ that it ignores a mode in the -*- line if
enable-local-variables is nil. I guess that this exception is
unintentional. If so, it is easy to fix.
I think that is a bug--please do fix it.
Secondly, if I set enable-local-variables to 'ask and visit a file
with a mode in the -*- line, and then answer twice no to the questions
asking me whether I want to process local variables, then indeed no
local variables are processed, _except_ for the mode in the -*- line.
Is this intentional?
Yes. Calling a mode function is not dangerous.
(The mode is not the same thing as a local variable.)
Why does it ask two questions instead of one?
- mode in -*- line, Luc Teirlinck, 2005/05/07
- Re: mode in -*- line,
Richard Stallman <=