I recently updated python-mode to version 6.2.0 and the indentation behaviour became less efficient. For instance, typing
try:
something to try
except SomeError:
used to correctly indent SomeError as soon as I typed :
. It does not work anymore. What did I break?
Customize py-electric-colon-active-p
to non-nil
Also py-electric-colon-bobl-only
must be set to nil
in this case - default is t
bobl stands for beginning of block