unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: mode in -*- line
Date: Sun, 08 May 2005 18:45:59 -0400	[thread overview]
Message-ID: <E1DUuX9-0001qb-MM@fencepost.gnu.org> (raw)
In-Reply-To: <200505072142.j47LgQO24114@raven.dms.auburn.edu> (message from Luc Teirlinck on Sat, 7 May 2005 16:42:26 -0500 (CDT))

    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?

  reply	other threads:[~2005-05-08 22:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-07 21:42 mode in -*- line Luc Teirlinck
2005-05-08 22:45 ` Richard Stallman [this message]
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=E1DUuX9-0001qb-MM@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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).