GNU bug report logs - #9796
Major mode selection after "save as"

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Wed, 19 Oct 2011 16:08:01 UTC

Severity: normal

Found in version 24.0.90

Fixed in version 24.0.91

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 9796 <at> debbugs.gnu.org, Dani Moncayo <dmoncayo <at> gmail.com>
Subject: bug#9796: 24.0.90; Major mode selection after "save as"
Date: Wed, 19 Oct 2011 20:30:53 -0400
>> Changing a buffer's filename changes the major-mode (if
>> change-major-mode-with-file-name is non-nil), but does not re-hack the
>> local variables.
> I guess it probably should, since any specified file local variables get
> clobbered by the mode change.

As mentioned in some earlier post (several months ago), I think that
normal-mode should run hack-local-variables.


        Stefan




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

Previous Next


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