Subject: Re: bug#17658: Python mode has odd indentation behavior

From: Andreas Röhler <[email-masked]>
Date: Mon, 02 Jun 2014 08:19:00 +0200

On 01.06.2014 23:18, Stefan Monnier wrote:
>> Indents to column 23, which seems correct.
>
> It shouldn't re-indent at all.
>
>> BTW setting `electric-indent-mode' to nil would also be an alternative
>>   to avoid it.
>
> Makes no difference,

Did you try it?

  it's not done by electric-indent-mode.
>          Stefan

AFAIU it's a feature of electric-indent-mode

The chars, which trigger an indent, may differ. In this case a comma triggers it.

The real bug here IMHO is `electric-indent-mode' on by default - should be off.

Andreas