GNU bug report logs -
#70807
Resetting *-local variables before parsing
Previous Next
Reported by: Arash Esbati <arash <at> gnu.org>
Date: Mon, 6 May 2024 19:11:02 UTC
Severity: normal
Tags: fixed
Fixed in version 14.1.0
Done: Arash Esbati <arash <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 70807 <at> debbugs.gnu.org (full text, mbox):
Hi Keiat,
Ikumi Keita <ikumi <at> ikumi.que.jp> writes:
> Hi Arash, sorry for late respose.
No problem!
> I agree that -local variables should be cleared at C-c C-n. My
> preliminary idea is to record names of such variables in a new
> internal variable and kill them in `TeX-normal-mode' like
> (dolist (var TeX-normal-mode-reset-list)
> (set var nil)))
> . (Maybe that new variable can be used to simplify `TeX-auto-store'.)
I did some test with resetting the *-local variables in different
places, but none of them was really satisfactory. Doing the reset in
`TeX-normal-mode' top-level means that the values are never written back
into the parsed-file.el since
(TeX-update-style t)
comes last in that function. The best thing I can currently come up
with is to add those variables to `TeX-normal-mode-reset-list' as well.
Any other ideas?
Best, Arash
This bug report was last modified 77 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.