Comment 4 for bug 837065

Revision history for this message
Barry Warsaw (barry) wrote : Re: [Bug 837065] Re: py-electric-colon indents incorrect and leaves point at the wrong place

On Aug 30, 2011, at 06:22 PM, Andreas Roehler wrote:

>may implement any rule...
>
>what about:
>
>indent to previous defs indent?

Let's step back a second and consider Georg's comment #2. py-electric-colon
was disabled by default because it never really did a good job of
indentation. As you observe, there are many times when it cannot really know
what you want. If electric colon causes more pain than gain, is it worth
adding the keybinding by default?

Andreas, what situations do you find electric colon helping you with?

I can't remember when it was disabled, but it seems like I've been using
python-mode for ages without electric colon and not missing it much. ;)

What do you think about going back to disabling the keybinding by default?
The command will still be there of course, for users to bind it if they want.

Maybe even conduct a query on python-mode@ mailing list to see who uses it?