From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Glenn Morris <rgm@gnu.org>
Cc: yary <not.com@gmail.com>, 15577@debbugs.gnu.org
Subject: bug#15577: 24.3; dir-local variables not applied when switching major-mode
Date: Thu, 10 Oct 2013 17:52:33 -0400 [thread overview]
Message-ID: <jwv8uy0x0iq.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <wyhacou88x.fsf@fencepost.gnu.org> (Glenn Morris's message of "Thu, 10 Oct 2013 17:27:26 -0400")
> 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
next prev parent reply other threads:[~2013-10-10 21:52 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-09 20:14 bug#15577: 24.3; dir-local variables not applied when switching major-mode yary
2013-10-09 21:42 ` Glenn Morris
2013-10-10 18:34 ` yary
2013-10-10 21:27 ` Glenn Morris
2013-10-10 21:52 ` Stefan Monnier [this message]
2013-10-10 23:12 ` yary
2013-10-14 18:41 ` yary
2013-10-16 14:26 ` yary
2013-10-18 15:43 ` yary
2013-10-19 1:18 ` Stefan Monnier
2013-10-19 19:08 ` yary
2013-10-19 21:55 ` Stefan Monnier
2013-10-20 13:00 ` yary
2013-10-20 13:38 ` Phil Sainty
2013-10-21 13:11 ` Stefan Monnier
2013-10-21 13:23 ` yary
2013-10-21 14:23 ` Stefan Monnier
2013-10-21 21:58 ` Phil Sainty
2013-10-18 16:29 ` Phil Sainty
[not found] ` <mailman.3789.1381430919.10748.bug-gnu-emacs@gnu.org>
2016-05-05 11:26 ` Alan Mackenzie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv8uy0x0iq.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=15577@debbugs.gnu.org \
--cc=not.com@gmail.com \
--cc=rgm@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.