GNU bug report logs - #36310
12.1.2; TeX-complete-symbol in math mode results in error for unique completion

Previous Next

Package: auctex;

Reported by: Gustavo Barros <gusbrs.2016 <at> gmail.com>

Date: Thu, 20 Jun 2019 15:19:01 UTC

Severity: normal

Found in version 12.1.2

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 36310-done <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: Gustavo Barros <gusbrs.2016 <at> gmail.com>
Cc: 36310-done <at> debbugs.gnu.org
Subject: Re: 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
Gustavo Barros <gusbrs.2016 <at> gmail.com> 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




This bug report was last modified 5 years and 334 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.