fill-paragraph corrupts the paragraph
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
High
|
Andreas Roehler |
Bug Description
fill-paragraph seems broken again.
http://
I am having the exact same problem described above in r1217 of lp:python-mode
Specifically.
-----snip snip-----
def foo():
"""This is a function.
The function does some stuff that is very interesting. It's hard to
describe, but you will certainly love it when you try it. It's one of the
best functions ever written, not just by me, but by all of mankind.
Well, that may be overstating it, but it is a wondeful function.
"""
-----snip snip-----
Put point on the whitespace at the beginning of the line that starts with 'The' inside the docstring and hit M-q. You end up with the following:
-----snip snip-----
def foo():
"""This is a function.
The function does some stuff that is very interesting. It's hard to
describe, but you will certainly love it when you try it. It's one
of the best functions ever written, not just by me, but by all of
mankind. Well, that may be overstating it, but it is a wondeful
function. """
-----snip snip-----
Changed in python-mode: | |
milestone: | none → 6.1.2 |
assignee: | nobody → Andreas Roehler (a-roehler) |
importance: | Undecided → High |
Changed in python-mode: | |
status: | New → Confirmed |
Changed in python-mode: | |
status: | Fix Committed → Fix Released |
Customizing py-paragraph- fill-docstring- p solved the issue for me.