bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#36310: 12.1.2; TeX-complete-symbol in math mode results in error for


From: Arash Esbati
Subject: bug#36310: 12.1.2; TeX-complete-symbol in math mode results in error for unique completion
Date: Sun, 23 Jun 2019 21:45:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50

Gustavo Barros <address@hidden> writes:

> The use of 'TeX-complete-symbol' ("C-M-i") in math mode results in
> error when the completion is unique.
> [...]
> Then type:
>
> $$ "C-b" \Right "C-M-i"
>
> The completion is actually executed, but triggers an error, whose 
> backtrace is:
>
> #+begin_verbatim
> Debugger entered--Lisp error: (wrong-type-argument stringp (if 
> TeX-insert-braces "{}"))
> regexp-quote((if TeX-insert-braces "{}"))
> TeX-complete-symbol()
> funcall-interactively(TeX-complete-symbol)
> call-interactively(TeX-complete-symbol nil nil)
> command-execute(TeX-complete-symbol)
> #+end_verbatim

Hi Gustavo,

thanks for your report.  This issue was already reported here[1] and
was resolved with this patch[2].  I hope you can wait for next AUCTeX
release.

Best, Arash

P.S. I suggest you don't use $$ for displayed math with LaTeX.

Footnotes:
[1]  https://lists.gnu.org/archive/html/bug-auctex/2019-04/msg00000.html

[2]  
http://git.savannah.gnu.org/cgit/auctex.git/commit/?id=8a36595fb116cd3c6e3f429c9be2101b211c49af





reply via email to

[Prev in Thread] Current Thread [Next in Thread]