Hi Keiat,

Ikumi Keita <[email protected]> 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



_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to