GNU bug report logs - #15577
24.3; dir-local variables not applied when switching major-mode

Previous Next

Package: emacs;

Reported by: yary <not.com <at> gmail.com>

Date: Wed, 9 Oct 2013 20:15:01 UTC

Severity: normal

Merged with 23407

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: Glenn Morris <rgm <at> gnu.org>
To: yary <not.com <at> gmail.com>
Cc: 15577 <at> debbugs.gnu.org
Subject: bug#15577: 24.3; dir-local variables not applied when switching major-mode
Date: Wed, 09 Oct 2013 17:42:05 -0400
yary wrote:

> If I create a ".dir-locals.el" that applies to all major modes, such as:
>   ((nil . ((tab-width . 3))))
> It works when first opening any file under that directory- good. But, if
> I switch the buffer's major-mode, it loses the directory-local
> tab-width -

File-local variables behave in the same way.




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

Previous Next


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