GNU bug report logs -
#62220
In-buffer completion and LaTeX-math-cal
Previous Next
Reported by: Arash Esbati <arash <at> gnu.org>
Date: Thu, 16 Mar 2023 11:44:01 UTC
Severity: normal
Done: Arash Esbati <arash <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Arash Esbati <arash <at> gnu.org> writes:
Hi Arash,
> if you have in-buffer completion running, take this small example:
>
> \documentclass{article}
> \begin{document}
> $\La*$
> \end{document}
>
> move point to * and hit TAB to get the completion candidates. This is
> what I see with corfu:
>
>
>
>
> Any idea where that `LaTeX-math-cal' is coming from?
TeX-complete-list contains an entry
(LaTeX--after-math-macro-prefix-p 1
(lambda nil
(append
(mapcar #'cadr LaTeX-math-list)
(mapcar #'cadr LaTeX-math-default)))
(if TeX-insert-braces "{}"))
(see latex.el:8074) and LaTeX-math-default contains an entry where the
cadr is the symbol LaTeX-math-cal. I guess, there should be a
(seq-filter #'stringp ...) around the (append ...).
Bye,
Tassilo
This bug report was last modified 2 years and 61 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.