Open jeff-phil opened 10 months ago
Altering this-command
is perfectly fine. It's there so combobulate can tell when you tab multiple times in a row. However, I do intend to move it to using the proffer system that other parts of Combobulate uses, so it will eventually be replaced.
On a side-note, turning off combobulate-mode for does not reset back indent-region-function variable.
Thanks for telling me!
When using
combobulate-python
the pop-up for awhich-key
prefix does not always show up.Steps to reproduce:
prin
, pause for 1 second, and then typeC-c
for themode-specific-map
.The problem is
this-command
on Line 147 of combobulate-python.el is being set, and then Line 2685 of which-key.el sees thethis-command
and assumes there is an active command execution and then won't show the popup.I thought (read: assumed)
this-command
was meant to be a transactional indicator for other packages to observe or react to a current running command in a package.Since it looks like it may be only used internally by
combobulate-python
, do you think using local variables (combob-this-command
&combob-last-command
) would be better?On a side-note, turning off
combobulate-mode
for does not reset backindent-region-function
variable.