Subject: bug#23407: closed (Re: bug#23407: .dir-local settings get obliterated on running a major mode function.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 05 May 2016 11:25:02 +0000

Your bug report

#23407: .dir-local settings get obliterated on running a major mode function.

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
23407: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23407
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#23407: .dir-local settings get obliterated on running a major mode function.
From: Alan Mackenzie <[email-masked]>
To: [email-masked]
Cc: Alan Mackenzie <[email-masked]>
Date: 5 May 2016 11:24:13 -0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Bug fixed in savannah master branch.

-- 
Alan Mackenzie (Nuremberg, Germany).

Subject: .dir-local settings get obliterated on running a major mode function.
From: Alan Mackenzie <[email-masked]>
To: [email-masked]
Date: Sat, 30 Apr 2016 10:27:44 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

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).