[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48609: Eglot and tab-always-indent conflict in python-mode
From: |
Pankaj Jangid |
Subject: |
bug#48609: Eglot and tab-always-indent conflict in python-mode |
Date: |
Tue, 25 May 2021 12:17:06 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) |
João Távora <joaotavora@gmail.com> writes:
> When Eglot is active, the completion system can find a large number of
> completions available for that empty line. Since you have selected
> tab-always-indent to be 'complete, Eglot will request and present those
> completions in the *Completions* buffer.
>
> The only way to cancel that operation is by C-g or clicking somewhere
> else. This in turn makes it so that the "last" command issued isn't
> indent-for-tab-command anymore, and so there aren't two
> indent-for-tab-command commands in a row. And that is the criteria
> consulted by python.el's indentation function to decide to cycle the
> indentation.
>
> So I'm not sure what needs to be fixed here, if anything, or how you
> would like this to behave.
I think that the best place should be python.el then. A variable
‘python-completion-on-empty-line’ or some better name. I don’t know if
such a variable already exist or not. Need to check.
Since the point-position is cycled by python.el, that is the place where
it should be configured.
- bug#48609: Eglot and tab-always-indent conflict in python-mode, Pankaj Jangid, 2021/05/23
- bug#48609: Eglot and tab-always-indent conflict in python-mode, João Távora, 2021/05/23
- bug#48609: Eglot and tab-always-indent conflict in python-mode, Doug Davis, 2021/05/23
- bug#48609: Eglot and tab-always-indent conflict in python-mode, João Távora, 2021/05/23
- bug#48609: Eglot and tab-always-indent conflict in python-mode, João Távora, 2021/05/23
- bug#48609: Eglot and tab-always-indent conflict in python-mode, Andrii Kolomoiets, 2021/05/24
- bug#48609: Eglot and tab-always-indent conflict in python-mode, Pankaj Jangid, 2021/05/25
- bug#48609: Eglot and tab-always-indent conflict in python-mode, João Távora, 2021/05/25
- bug#48609: Eglot and tab-always-indent conflict in python-mode,
Pankaj Jangid <=
- bug#48609: Eglot and tab-always-indent conflict in python-mode, João Távora, 2021/05/25
- bug#48609: Eglot and tab-always-indent conflict in python-mode, Pankaj Jangid, 2021/05/25