Subject: bug#18228: 24.4.50; electrict-indent-mode bad indentation in python-mode

From: Stefan Monnier <[email-masked]>
Date: Mon, 11 Aug 2014 22:40:52 -0400

>>> But what should electric-indent do than?
>> No re-indent upon : when it's not 100% sure of the result.
> Which sums up to switch it off.

Not to switch off electric-indent, no (it's enabled globally).

And presumably the : was made to re-indent because in some/many cases
there is only 1 correct indentation (and the code is able to find it).
I don't know if the code is also able to detect when it's correct and
when it's not, but if it is, then we don't need to disable the "reindent
on :" in all cases.

        Stefan