auctex-devel
[Top][All Lists]
Advanced

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

Re: AUCTeX and in-buffer completion


From: Arash Esbati
Subject: Re: AUCTeX and in-buffer completion
Date: Fri, 14 Oct 2022 16:46:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50

Uwe Brauer <oub@mat.ucm.es> writes:

>>>> "AE" == Arash Esbati <arash@gnu.org> writes:
>
>> Strange, because C-M-i should show you the standard Emacs *Completions*
>> buffer.  Check again the value of `completion-at-point-functions' in the
>> buffer with your .tex file.
>
>
> That gives 
> ,----
> | completion-at-point-functions is a variable defined in ‘minibuffer.el’.
> | 
> | Its value is (TeX--completion-at-point t)
> | Local in buffer global-existence-no-hair.tex; global value is 
> | (tags-completion-at-point-function)
> `----

I thought so; as I said, paste this snippet in your .tex file and eval
it

  (add-hook 'completion-at-point-functions
             #'LaTeX-arguments-completion-at-point t t)

You must have `LaTeX-arguments-completion-at-point' at the end of
`completion-at-point-functions'.

Best, Arash



reply via email to

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