[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AUCTeX and in-buffer completion
From: |
Uwe Brauer |
Subject: |
Re: AUCTeX and in-buffer completion |
Date: |
Fri, 14 Oct 2022 14:14:37 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
>>> "AE" == Arash Esbati <arash@gnu.org> writes:
Hi Arash
> Hi all,
> AUCTeX is known to do minibuffer query and completion when adding new
> macros or environments incl. arguments. One thing missing is when one
> wants to add/change keyval or other elements to existing constructs in
> the buffer -- there is no in-buffer completion.
> I was thinking about how to use the current information available in
> `TeX-symbol-list' and `LaTeX-environment-list' in order to provide
> in-buffer completion. The result is attached and looks like this (with
> company-mode which I use):
Thanks very much
> The implementation solely relies on Emacs and should work with Corfu,
> Company etc. In order to use the library, put the file somewhere, load
> your .tex file, do
> M-x load-library RET /pathto/latex-capf.el RET
> and paste this in your .tex file and eval it:
> (add-hook 'completion-at-point-functions
> #'LaTeX-arguments-completion-at-point t t)
I followed all of your steps, I am currently running GNU emacs master
> There is also a git branch feature/capf with the latest version.
,----
| emacs-repository-version is a variable defined in ‘version.el’.
|
| Its value is "7bf17ceee8c2d347917541e143ce25609e90ebbb"
`----
Which should be recent enough 😇
However even after typing
\fontspec{texgyretermes-regular.otf}[Numbers=Oldstyle,]
I don't see what you posted in the attached gif. What do I miss?
Uwe
--
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine’s military.
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine.
https://how-to-help-ukraine-now.super.site/
smime.p7s
Description: S/MIME cryptographic signature
- AUCTeX and in-buffer completion, Arash Esbati, 2022/10/14
- Re: AUCTeX and in-buffer completion,
Uwe Brauer <=
- Re: AUCTeX and in-buffer completion, Arash Esbati, 2022/10/14
- Re: AUCTeX and in-buffer completion, Uwe Brauer, 2022/10/14
- Re: AUCTeX and in-buffer completion, Arash Esbati, 2022/10/14
- Re: AUCTeX and in-buffer completion, Uwe Brauer, 2022/10/14
- Re: AUCTeX and in-buffer completion, Arash Esbati, 2022/10/14
- Re: AUCTeX and in-buffer completion, Uwe Brauer, 2022/10/14
- Re: AUCTeX and in-buffer completion, Uwe Brauer, 2022/10/14
Re: AUCTeX and in-buffer completion, Ikumi Keita, 2022/10/18