Indentation wrong after multi-line parameter list

Bug #871698 reported by Ryan Kaskel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
Fix Released
Medium
Andreas Roehler

Bug Description

I just found this little issue in 6.0.4 (I'm not sure if it's in any of the previous 6.0 series releases). Please let me know if you can reproduce it.

----------------
def foo(bar, baz):
    # indenation as it should be

def foo(bar,
        baz):
# this is the next indentaiton line (none)

foo(bar,
    baz):
# again the next line isn't indented

class Foo:
    def bar(biz,
            baz):
    # indentation here after newline
----------------

Changed in python-mode:
assignee: nobody → Andreas Roehler (a-roehler)
milestone: none → 6.0.4
Changed in python-mode:
importance: Undecided → Medium
status: New → Confirmed
Changed in python-mode:
status: Confirmed → In Progress
Changed in python-mode:
status: In Progress → Fix Committed
Revision history for this message
Ryan Kaskel (ryankaskel) wrote :

Thanks! This does it.

Changed in python-mode:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.