Re: [EMACS] python-mode patch, 1.08a -> 1.08ax

Tim Peters (
Thu, 21 Apr 94 00:17:42 -0400

Thanks for the irritating continuation-line indentation examples! I
intentionally didn't spell out what _I_ meant by "irritating", and am at
least encourged to see that you're irked by the same kinds of things.

> Admitting-I-haven't-read-the-new-wonderful-documentation-yet,

No need -- the new schemes are rigidly consistent right now, and what
you've inferred by example is the truth.

> ...
> a, b, c, d, e = \
> the_result_of_a_function_returning_a_quintuple()
> where I don't know what I would've wanted, honestly.

Ya, this is where it gets hard. In most cases we probably want a
continued assignment to indent past the leftmost assigning "=" on the
base line, but in this case that rule would yield the useless

a, b, c, d, e = \

Indenting past the base line's leftmost chunk of non-whitespace
characters instead (as is currently done) may be the best guess I can
make here. But the "there is _something_ interesting after an assigning
'=' on the base line" is a different case, and happy to treat it

still-collecting-icky-examples-ly y'rs - tim

Tim Peters
not speaking for Kendall Square Research Corp