Trouble with py-fill-paragraph
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hello,
I'm trying to refill the following docstring:
class BlockCache(object):
def remove(self, inode, start_no, end_no=None):
"""Remove blocks for `inode`
If `end_no` is not specified, remove just the `start_no`
block.
Otherwise removes all blocks from `start_no` to, but not
including, `end_no`.
Note: if `get` and `remove` are called concurrently, then it is
possible that a block that has been requested with `get` and
passed to `remove` for deletion will not be deleted.
"""
if end_no is None:
end_no = start_no + 1
When I place the cursor on e.g. the first line ("If `end_no`...) and execute M-x py-fill-paragraph, the buffer is scrolled such that this becomes the first visible line, and the indentation is removed. No filling occurs at all.
Am I doing something wrong? py-docstring-style is set to pep-256-nn.
Changed in python-mode: | |
milestone: | none → 6.1.2 |
assignee: | nobody → Andreas Roehler (a-roehler) |
importance: | Undecided → Medium |
Changed in python-mode: | |
status: | New → Incomplete |
Changed in python-mode: | |
importance: | Medium → Undecided |
assignee: | Andreas Roehler (a-roehler) → nobody |
milestone: | 6.1.2 → none |
Changed in python-mode: | |
status: | Incomplete → Fix Committed |
Changed in python-mode: | |
status: | Fix Committed → Fix Released |
Seeing a minor bug WRT to indent of closing string only, which should be fixed.
What's your version of python-mode? Did you try with current trunk?
Thanks,
Andreas