bug#72999: 29.4; fill-paragraph error in latex mode

2024-09-03 Thread Vadim Zaliva
--text follows this line-- If I have buffer like this: Foo \cite{bar} bar. And press `M-q` I get error: LaTeX-indent-calculate-last: Wrong type argument: stringp, nil In GNU Emacs 29.4 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20,  cairo version 1.16.0) of 2024-06-23 built on lcy02-a

bug#72999: 29.4; fill-paragraph error in latex mode

2024-09-04 Thread Vadim Zaliva
Arash, thanks for response. I do have auctex 14.0.6 installed via ELPA. I tried to reproce the problem starting from `emacs -Q` and it did not reproduce. With my default setup it's still happening with the following debug trace: Debugger entered--Lisp error: (wrong-type-argument stringp nil)  

bug#72999: 29.4; fill-paragraph error in latex mode

2024-09-06 Thread Vadim Zaliva
Removing the following from my .emacs fixed the problem: (use-package latex-extra   :ensure t   :hook (LaTeX-mode . latex-extra-mode)) -- "La perfection est atteinte non quand il ne reste rien a ajouter, mais quand il ne reste rien a enlever." (Antoine de Saint-Exupery)