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)
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].
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
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)
> 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
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
--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