GNU bug report logs - #23407
.dir-local settings get obliterated on running a major mode function.

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Sat, 30 Apr 2016 10:29:02 UTC

Severity: normal

Merged with 15577

Found in version 24.3

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Alan Mackenzie <acm <at> muc.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#23407: closed (.dir-local settings get obliterated on running
 a major mode function.)
Date: Thu, 05 May 2016 11:25:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated 5 May 2016 11:24:13 -0000
with message-id <20160505112413.72418.qmail <at> mail.muc.de>
and subject line Re: bug#23407: .dir-local settings get obliterated on running a major	mode function.
has caused the debbugs.gnu.org bug report #23407,
regarding .dir-local settings get obliterated on running a major mode function.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
23407: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23407
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Alan Mackenzie <acm <at> muc.de>
To: bug-gnu-emacs <at> gnu.org
Subject: .dir-local settings get obliterated on running a major mode function.
Date: Sat, 30 Apr 2016 10:27:44 +0000
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).


[Message part 3 (message/rfc822, inline)]
From: Alan Mackenzie <acm <at> muc.de>
To: 23407-done <at> debbugs.gnu.org
Cc: Alan Mackenzie <acm <at> muc.de>
Subject: Re: bug#23407: .dir-local settings get obliterated on running a
 major	mode function.
Date: 5 May 2016 11:24:13 -0000
Bug fixed in savannah master branch.

-- 
Alan Mackenzie (Nuremberg, Germany).



This bug report was last modified 9 years and 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.