|
From: | Glenn Morris |
Subject: | bug#15577: 24.3; dir-local variables not applied when switching major-mode |
Date: | Thu, 10 Oct 2013 17:27:26 -0400 |
User-agent: | Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
yary wrote: > Before posting the mode-change-clobbering-locals behavior as a bug, I > asked about it on stackoverflow, which generated a thorough > explanation : > http://stackoverflow.com/questions/19280851/how-to-keep-dir-local-variables-when-switching-major-modes I think it slightly impolite to post the same question to two different places at the same time. 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.
[Prev in Thread] | Current Thread | [Next in Thread] |