bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15577: 24.3; dir-local variables not applied when switching major-mo


From: Stefan Monnier
Subject: bug#15577: 24.3; dir-local variables not applied when switching major-mode
Date: Thu, 10 Oct 2013 17:52:33 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> Anyway, are you happy with the answers you have, or do you want Emacs to
> change? It is a long-standing behaviour that local variables (file or
> directory) are only applied (by normal-mode) when you visit a file, and
> get clobbered by major-mode changes.

I do think it's at least undesirable behavior.

Not sure how best to fix it, tho.  We could try and setup file-local
vars when we run after-change-major-mode-hook.


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]