[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LaTeX commands and packages names autocomplete.
From: |
Arash Esbati |
Subject: |
Re: LaTeX commands and packages names autocomplete. |
Date: |
Thu, 04 May 2023 20:18:16 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hongyi Zhao <hongyi.zhao@gmail.com> writes:
> I should have also uncommented the above line. But even so, I have the
> following problems:
>
> 1. I must at least type 3 letters to trigger the completion.
,----[ C-h v corfu-auto-prefix RET ]
| corfu-auto-prefix is a variable defined in ‘corfu.el’.
|
| Its value is 3
|
| Minimum length of prefix for auto completion.
| The completion backend can override this with
| :company-prefix-length. It is *not recommended* to use a small
| prefix length (below 2), since this will create high load for
| Emacs. See also ‘corfu-auto-delay’.
|
| You can customize this variable.
|
`----
> 2. Furthermore, my completion candidates list entries are less than
> yours, as shown in the attached screenshot.
If you take a closer look, you'll see that the screenshot I sent had
also a candidate "because" since I hit TAB after only 2 characters, you
have 3 characters "bec" in the buffer where the completion kicks in,
hence one candidate is missing.
In your other mail, you wrote:
> Another problem I noticed:
>
> 3. The speed of triggering the candidate list for the first time is
> very slow, while company-mode does not seem to have this problem.
I don't use use-package, but you'll know that it loads packages lazily,
so if you're using corfu in your .tex file for the first in a fresh
Emacs instance, it has to be loaded; maybe that's the reason. I observe
the same thing if I deactivate corfu in a .tex buffer and activate
company; it takes a sec before it's ready to go.
Best, Arash
- Re: LaTeX commands and packages names autocomplete., (continued)
- Re: LaTeX commands and packages names autocomplete., Arash Esbati, 2023/05/01
- Re: LaTeX commands and packages names autocomplete., Hongyi Zhao, 2023/05/01
- Re: LaTeX commands and packages names autocomplete., Arash Esbati, 2023/05/02
- Re: LaTeX commands and packages names autocomplete., Hongyi Zhao, 2023/05/02
- Re: LaTeX commands and packages names autocomplete., Arash Esbati, 2023/05/02
- Re: LaTeX commands and packages names autocomplete., David Kastrup, 2023/05/02
- Re: LaTeX commands and packages names autocomplete., Arash Esbati, 2023/05/02
- Re: LaTeX commands and packages names autocomplete., Hongyi Zhao, 2023/05/04
- Re: LaTeX commands and packages names autocomplete., Hongyi Zhao, 2023/05/04
- Re: LaTeX commands and packages names autocomplete., Hongyi Zhao, 2023/05/04
- Re: LaTeX commands and packages names autocomplete.,
Arash Esbati <=
- Re: LaTeX commands and packages names autocomplete., Hongyi Zhao, 2023/05/04
- Re: LaTeX commands and packages names autocomplete., Hongyi Zhao, 2023/05/05
- Re: LaTeX commands and packages names autocomplete., Arash Esbati, 2023/05/05
- Re: LaTeX commands and packages names autocomplete., Hongyi Zhao, 2023/05/05
- Re: LaTeX commands and packages names autocomplete., Arash Esbati, 2023/05/05
- Re: LaTeX commands and packages names autocomplete., Hongyi Zhao, 2023/05/05
- Re: LaTeX commands and packages names autocomplete., Hongyi Zhao, 2023/05/05
- Re: LaTeX commands and packages names autocomplete., Hongyi Zhao, 2023/05/05
- Re: LaTeX commands and packages names autocomplete., Arash Esbati, 2023/05/05
- Re: LaTeX commands and packages names autocomplete., Hongyi Zhao, 2023/05/06