[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48609: Eglot and tab-always-indent conflict in python-mode
From: |
Andrii Kolomoiets |
Subject: |
bug#48609: Eglot and tab-always-indent conflict in python-mode |
Date: |
Mon, 24 May 2021 11:17:54 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) |
João Távora <joaotavora@gmail.com> writes:
> So I'm not sure what needs to be fixed here, if anything, or how you
> would like this to behave.
IMO works as described in the `tab-always-indent` docstring:
If ‘complete’, TAB first tries to indent the current line, and if the line
was already indented, then try to complete the thing at point.
One can reproduce this without Eglot:
1. emacs -Q
2. C-x C-f test.py
3. M-: (setq tab-always-indent 'complete)
4. C-c C-p
After step 4 the `python-completion-at-point` function starts producing
completions and each TAB key will lead to "No match" message.
Pankaj, take a look at the `tab-first-completion` variable.
--
Andrii