all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Phil Sainty <psainty@orcon.net.nz>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: yary <not.com@gmail.com>, 15658@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	[thread overview]
Message-ID: <3727265333672ea38dd399f24d5db710@webmail.orcon.net.nz> (raw)
In-Reply-To: <87lev9fmia.fsf@gnus.org>

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.






      parent reply	other threads:[~2022-05-11  4:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-19 22:15 bug#15658: 24.1; (wishlist) Easy way to make a file-local variable also permanent-local yary
2022-05-10 15:14 ` Lars Ingebrigtsen
2022-05-10 19:54   ` yary
2022-05-11 11:47     ` Lars Ingebrigtsen
2022-05-11  4:05   ` Phil Sainty [this message]

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=3727265333672ea38dd399f24d5db710@webmail.orcon.net.nz \
    --to=psainty@orcon.net.nz \
    --cc=15658@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=not.com@gmail.com \
    /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.