emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#62220: closed (In-buffer completion and LaTeX-math-cal)


From: GNU bug Tracking System
Subject: bug#62220: closed (In-buffer completion and LaTeX-math-cal)
Date: Fri, 17 Mar 2023 09:45:03 +0000

Your message dated Fri, 17 Mar 2023 10:43:23 +0100
with message-id <865yazn26c.fsf@gnu.org>
and subject line Re: bug#62220: In-buffer completion and LaTeX-math-cal
has caused the debbugs.gnu.org bug report #62220,
regarding In-buffer completion and LaTeX-math-cal
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
62220: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62220
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: In-buffer completion and LaTeX-math-cal Date: Thu, 16 Mar 2023 12:42:54 +0100 User-agent: Gnus/5.13 (Gnus v5.13)
Hi all,

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:

PNG image

Any idea where that `LaTeX-math-cal' is coming from?

Best, Arash

--- End Message ---
--- Begin Message --- Subject: Re: bug#62220: In-buffer completion and LaTeX-math-cal Date: Fri, 17 Mar 2023 10:43:23 +0100 User-agent: Gnus/5.13 (Gnus v5.13)
Hi Tassilo,

Tassilo Horn <tsdh@gnu.org> writes:

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

Thanks, that was the right hint.  I installed a change (2a65fac9b1)
using your suggestion above.  Closing this issue.

Best, Arash


--- End Message ---

reply via email to

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