bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15916: Python indentation broken in latest trunk


From: Daniel Colascione
Subject: bug#15916: Python indentation broken in latest trunk
Date: Sun, 17 Nov 2013 14:51:43 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

See this code:

1 class Blag(object):
2     def _on_child_complete(self, child_future):
3         if self.in_terminal_state():
4             pass
5
6         # We only complete when all our async children have entered a
7     # terminal state. At that point, if any child failed, we fail
8 # with the exception with which the first child failed.

The only indentation option python-mode provides for line 7 are the above (indented one place) and outdented all the way. The only option for line 8 is outdented all the way. Lines 6, 7, and 8 should line up. I don't recall the indenter behaving like this a way weeks ago.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]