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)

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

2024-09-06 Thread Arash Esbati
tags 72999 notabug close 72999 thanks Vadim Zaliva writes: > Removing the following from my .emacs fixed the problem: > > (use-package latex-extra > :ensure t > :hook (LaTeX-mode . latex-extra-mode)) Thanks for reporting back. Maybe you want to report the issue to latex-extra tracker[1].

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

2024-09-04 Thread Arash Esbati
Vadim Zaliva writes: > 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. You're welcome. The above essentially says that AUCTeX isn't the culprit per se since it works with the standard s

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-03 Thread Eli Zaretskii
> Date: Tue, 3 Sep 2024 08:46:10 +0200 > From: Vadim Zaliva > > 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 I cannot reproduce this in "emacs -Q", and I see no function named LaTeX-inde

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

2024-09-03 Thread Arash Esbati
Vadim Zaliva writes: > 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 > [...] > Major mode: LaTeX It seems you're running AUCTeX as major-mode and not the builtin one. Which version of AUCTeX

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