[Python-bugs-list] [ python-Bugs-601202 ] Indentation bug after # in python-mode

noreply@sourceforge.net noreply@sourceforge.net
Wed, 28 Aug 2002 06:12:31 -0700


Bugs item #601202, was opened at 2002-08-28 06:24
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=601202&group_id=5470

Category: Demos and Tools
Group: 3rd Party
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Victor V. Kryukov (vtail)
>Assigned to: Barry A. Warsaw (bwarsaw)
Summary: Indentation bug after # in python-mode

Initial Comment:
If you type following code in python-mode in Emacs:
==>
def main()
a=5
b=4
<==
then go to the 3rd line and put # as a first symbol in that 
string and go to 4th line and type something, the 
indentation of the 4th line will be the same as of 1st, 
with no way to change it (i.e. pressing Tab again doesn't 
help). 

That is very annoying and if just want to comment 
something and write several lines after that.



----------------------------------------------------------------------

>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2002-08-28 09:12

Message:
Logged In: YES 
user_id=12800

This is by design.  See py-honor-comment-indentation

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=601202&group_id=5470