Comment 14 for bug 883905

Revision history for this message
Georg Brandl (gbrandl) wrote :

OK, I think got it now.

When I call "M-x py-indent-line", I jump into the True branch of the "(if (interactive-p)" (line 3421 in current trunk). Then, it works fine.

When I press TAB, I jump into the False branch, which has several different behaviors: when point is on the first non-space or before, the line isn't indented properly but outdented to column 0 or the nearest 4-space multiple.

Is this really intended behavior? If yes, what is the point? I would like TAB to indent the line properly, no matter where the point is on the line, and this is also how TAB behaved previously in python-mode.