GNU bug report logs - #15916
Python indentation broken in latest trunk

Previous Next

Package: emacs;

Reported by: Daniel Colascione <dancol <at> dancol.org>

Date: Sun, 17 Nov 2013 22:53:01 UTC

Severity: normal

Done: fgallina <at> gnu.org (Fabián Ezequiel Gallina)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15916 in the body.
You can then email your comments to 15916 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#15916; Package emacs. (Sun, 17 Nov 2013 22:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Colascione <dancol <at> dancol.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 17 Nov 2013 22:53:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Daniel Colascione <dancol <at> dancol.org>
To: "bug-gnu >> bug-emacs" <bug-gnu-emacs <at> gnu.org>
Subject: Python indentation broken in latest trunk
Date: Sun, 17 Nov 2013 14:51:43 -0800
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 sent to fgallina <at> gnu.org (Fabián Ezequiel Gallina):
You have taken responsibility. (Thu, 12 Dec 2013 05:39:02 GMT) Full text and rfc822 format available.

Notification sent to Daniel Colascione <dancol <at> dancol.org>:
bug acknowledged by developer. (Thu, 12 Dec 2013 05:39:03 GMT) Full text and rfc822 format available.

Message #10 received at 15916-done <at> debbugs.gnu.org (full text, mbox):

From: fgallina <at> gnu.org (Fabián Ezequiel Gallina)
To: 15916-done <at> debbugs.gnu.org
Date: Thu, 12 Dec 2013 02:38:28 -0300
Fixed in revno 115481.


Thanks,
Fabián.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 09 Jan 2014 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.