On Sat, May 6, 2023 at 7:58 PM Arash Esbati <[email protected]> wrote:
>
> Hongyi Zhao <[email protected]> writes:
>
> > I use the following tex file to do the test, but nothing is completed:
>
> From your screenshot, you're using the built-in latex-mode provided by
> Emacs.

Thank you for pointing this out to me.

> You want to activate AUCTeX for your experiment.

But, we are doing the test using `emacs -Q` and how can I in this
scenario to enable AUCTeX? I mean, it seems that enabling AUCTeX needs
complicated configurations, so we use `init.el` to do the trick.

> Then, the
> value of `completion-at-point-functions' should be:
>
>   (TeX--completion-at-point t LaTeX--arguments-completion-at-point)
>
> and you should get in-buffer completion.
>
> Best, Arash

Regards, Zhao

Reply via email to