An Emacs mode for editing Python code

incorrect indentation of comments in a multiline list

Reported by Yaroslav Halchenko on 2012-11-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
Medium
Andreas Roehler

Bug Description

Here is the result

#!/usr/bin/python
#emacs: -*- mode: python; py-indent-offset: 4; tab-width: 4; indent-tabs-mode: nil -*-
#ex: set sts=4 ts=4 sw=4 noet:

class X:
    XX = [
        "asdfasdF",
        "asdfasdf",
    # lakjsdflkjasdf
    "lkajsdlkfj"
    ]

There is no way to indent #comment line with TAB, nor subsequent list entry to the level of previous entries

Changed in python-mode:
milestone: none → 6.1.0
assignee: nobody → Andreas Roehler (a-roehler)
importance: Undecided → Medium
Changed in python-mode:
status: New → In Progress
Changed in python-mode:
status: In Progress → Fix Committed
Changed in python-mode:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers