GNU bug report logs - #15658
24.1; (wishlist) Easy way to make a file-local variable also permanent-local

Previous Next

Package: emacs;

Reported by: yary <not.com <at> gmail.com>

Date: Sat, 19 Oct 2013 22:16:02 UTC

Severity: wishlist

Tags: moreinfo

Found in version 24.1

Fixed in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Phil Sainty <psainty <at> orcon.net.nz>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: yary <not.com <at> gmail.com>, 15658 <at> debbugs.gnu.org
Subject: bug#15658: 24.1; (wishlist) Easy way to make a file-local variable also permanent-local
Date: Wed, 11 May 2022 16:05:38 +1200
On 2022-05-11 03:14, Lars Ingebrigtsen wrote:
> foo-var is set whenever I change the major mode.  Has the behaviour
> changed here since Emacs 24.1?  (The earliest Emacs I have is Emacs
> 25.1.)

This changed in `normal-mode' in 26.1 for bug #23460, so I'd expect
testing to have been different in 25.1.

The relevant NEWS entry is:

** File local and directory local variables are now initialized each
time the major mode is set, not just when the file is first visited.
These local variables will thus not vanish on setting a major mode.





This bug report was last modified 3 years and 12 days ago.

Previous Next


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