Am 25.03.2011 14:35, schrieb Andreas Röhler:
Am 25.03.2011 14:07, schrieb s...@pobox.com:

Andreas> What about indenting it to the end of first element of previous
Andreas> line?

That is precisely the problem. That's what it does today, and if the
lhs of
the assignment is a complex expression, the continuation is indented
way too
far. I would much prefer just to simply indent by the normal block
indent.

Skip


Hi Skip,

I'll introduce a defcustom for that

just set

`py-multiline-indent-to-first-element'


Sorry,

that's my mistake.

Thats will be boolean, as it's name says.

When indenting to common indent-offset,

use the defcustom  than created for that purpose.
`py-multiline-indent-to-first-element' must be nil than,

as the indent of the first element shouldn't matter.


Andreas



_______________________________________________
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode

Reply via email to