Gustavo Barros <[email protected]> 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



_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to