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

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

bug#15731: 24.3; python indentation error: wrong indentation after inlin


From: Andreas Röhler
Subject: bug#15731: 24.3; python indentation error: wrong indentation after inline if-statement
Date: Sun, 27 Oct 2013 09:50:25 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0

Am 27.10.2013 03:23, schrieb Luke Zoltan Kelley:
emacs -Q test.py

cond = True
if( cond ):

     if( cond ): print "True"
else: print "False"

else:
     return

the first 'else' condition will not indent to the proper alignment
(aligned with the second 'if' statement).  Using M-x indent-region has
the same effect.  It's possible this bug does not occur in 24.2.1.



May confirm this with

GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10) of 2013-10-21







reply via email to

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