Bogus whitespace left in docstring after wrapping
Bug #1178455 reported by
Barry Warsaw
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
Medium
|
Andreas Roehler |
Bug Description
r1225
def foo():
"""Line one of a comment.
A paragraph of comments.
These should get wrapped correctly.
They do, but whooboy!
Last line of comment.
"""
Put point somewhere in the middle paragraph and hit M-q (fill-paragraph).
The paragraph gets properly wrapped, but the blank line before it and after it get additional 4 bogus spaces at the beginning of their lines.
Changed in python-mode: | |
assignee: | nobody → Andreas Roehler (a-roehler) |
milestone: | none → 6.1.2 |
importance: | Undecided → Medium |
Changed in python-mode: | |
status: | New → In Progress |
Changed in python-mode: | |
status: | New → Fix Committed |
Changed in python-mode: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi Barry,
the docstring get's indented as such. I.e. it get's the indentation a C-j from inside would make.
Do you think that's wrong? Is there a case where it disturbs?
Cheers,
Andreas