From: Alan Mackenzie <acm@muc.de>
To: 23407@debbugs.gnu.org
Subject: bug#23407: .dir-local settings get obliterated on running a major mode function.
Date: Sat, 30 Apr 2016 10:27:44 +0000 [thread overview]
Message-ID: <20160430102744.GA4644@acm.fritz.box> (raw)
Hello, Emacs.
In the master branch (I'm sure it's the same in the emacs-25 branch,
too):
1. start Emacs with emacs -Q
2. Visit any emacs lisp file which is part of Emacs with C-x C-f.
3. Do C-h C-v indent-tabs-mode <RET>. The *Help* buffer starts off
with:
indent-tabs-mode is a variable defined in `C source code'.
Its value is nil
Original value was t
Local in buffer follow.el; global value is t
. The local value comes from the .dir-locals in the top level Emacs
directory.
4. Do M-x emacs-lisp-mode.
5. Again do C-h C-v indent-tabs-mode <RET>. This time, the *Help*
buffer starts off with:
indent-tabs-mode is a variable defined in `C source code'.
Its value is t
. This is different from the first *Help* buffer.
6. This is a bug. On running a major mode, directory local settings
should be respected.
--
Alan Mackenzie (Nuremberg, Germany).
next reply other threads:[~2016-04-30 10:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-30 10:27 Alan Mackenzie [this message]
2016-04-30 10:53 ` bug#23407: .dir-local settings get obliterated on running a major mode function Dmitry Gutov
2016-04-30 18:50 ` Glenn Morris
2016-04-30 18:53 ` Glenn Morris
2016-05-01 21:28 ` Alan Mackenzie
2016-05-02 4:02 ` Stefan Monnier
2016-05-02 7:10 ` Alan Mackenzie
2016-05-03 18:10 ` Stefan Monnier
2016-05-05 11:39 ` Alan Mackenzie
2016-05-05 12:54 ` Stefan Monnier
[not found] ` <mailman.1598.1462012164.7477.bug-gnu-emacs@gnu.org>
2016-05-05 11:24 ` Alan Mackenzie
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=20160430102744.GA4644@acm.fritz.box \
--to=acm@muc.de \
--cc=23407@debbugs.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).