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
View this message in rfc822 format
Hi Arash, sorry for late respose.
>>>>> Arash Esbati <arash <at> gnu.org> writes:
> Note how the entry for "hyperref" is gone, but not the add-to-list
> forms; the value of LaTeX-verbatim-* are not reset. This probably
> applies for `LaTeX-verbatim-environments-local', but I didn't check.
> For me, the value of the -local version should be reset somewhere before
> parsing and running the style hooks again, but I couldn't find an
> appropriate place. Does this approach make sense? And if yes, any idea
> where to put the reset? Any comments welcome.
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'.)
Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
#Gaza #StopMassiveKilling #CeasefireNOW
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.