Skip to content

Completion-at-point-functions config issues

When python-mode is activated for a buffer, at lines 25829-25738 the py-complete-function option doesn't add as local, which can interfere with non-related buffer's capfs. (this looks like a regression from 6.2.3 )

if I then set py-complete-function to be nil (the default specified in it's declaration), then cond forces py-shell-complete to be added, regardless of py-do-completion-ps value, so capf-functions still gets polluted.

If capf is triggered by py-indent-or-complete, because there isn't a comint process associated with a normal python buffer, the first completion condition fails, but the second one will pass. This condition doesn't wrap completion-at-point with ignore-errors. This results in the windows and buffers changing inexplicably when I press tab.

I'm on a weird frankenstein of 28.2 and doom 3.0 with stock python 0.28 being use-packaged activating your python-mode 6.3.1, but that shouldn't be changing the core of what's happening above.

Edited by jgrey4296