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


Message #41 received at 15577 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: yary <not.com <at> gmail.com>
Cc: Glenn Morris <rgm <at> gnu.org>, 15577 <15577 <at> debbugs.gnu.org>
Subject: Re: bug#15577: 24.3;
 dir-local variables not applied when switching major-mode
Date: Sat, 19 Oct 2013 17:55:09 -0400
> Moving dir-local setup code to after-change-major-mode-hook would be a
> simple fix for issue #1. File-local (as it is now) in
> after-change-major-mode-hook would cause some problems eg. if a
> file-local sets the mode!

Obviously if we move the mode-setting part, we introduce a bug, so we
wouldn't move it (it's already handled separately for the same kind of
reasons).


        Stefan




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.