From: Luc Teirlinck <teirllm@dms.auburn.edu>
Subject: mode in -*- line
Date: Sat, 7 May 2005 16:42:26 -0500 (CDT) [thread overview]
Message-ID: <200505072142.j47LgQO24114@raven.dms.auburn.edu> (raw)
There are two things I noticed about modes in the -*- line.
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.
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? If not, this is a little bit trickier, because
the most obvious way to solve it would be to ask the user a third
question (in set-auto-mode) and two is already many.
Sincerely,
Luc.
next reply other threads:[~2005-05-07 21:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-07 21:42 Luc Teirlinck [this message]
2005-05-08 22:45 ` mode in -*- line Richard Stallman
2005-05-09 2:40 ` Luc Teirlinck
2005-05-12 2:09 ` Luc Teirlinck
2005-05-12 14:54 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200505072142.j47LgQO24114@raven.dms.auburn.edu \
--to=teirllm@dms.auburn.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).