Ikumi Keita <ik...@ikumi.que.jp> writes: > It isn't a good idea to adhere to `TeX-run-style-hooks' after all > because it taints `TeX-active-styles'. I abandoned it and took another > straightforward approach in the attached patch #1, which is for the > current git master.
Hi Keita, using `TeX-update-style-hook' would have been also my suggestion -- I think it is the straightforward approach. > Thus I propose another patch #2 to defer running style hooks until the > package options are actually given. > > How do you think about these ideas? I like this one. The current implementation bugged me also as I wrote enumitem.el; one has to hit `C-c C-n' after doing `C-c C-m usepackage RET name RET' in order to get things right. And I'm not sure if your patch break other things. So +1 from me :) Thank you for implementing it. Best, arash _______________________________________________ auctex mailing list auctex@gnu.org https://lists.gnu.org/mailman/listinfo/auctex