wrong indentation of function arguments

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

Bug Description

With python-mode 6.0.2 pressing C-j before ``c'' in this code:

    code = foo(a=1,
               b=2, c=3)

indents new line to fifth column:

    code = foo(a=1,
               b=2,
        c=3)

However, pressing C-j after the last ``,'' in this code:

    code = foo(a=1,
               b=2,

makes right indentation.

Tags: indentation
description: updated
description: updated
description: updated
Changed in python-mode:
assignee: nobody → Andreas Roehler (a-roehler)
importance: Undecided → Medium
status: New → Confirmed
milestone: none → 6.0.3
Changed in python-mode:
status: Confirmed → Fix Committed
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.