Am 27.03.2013 22:12, schrieb Alexis Roda:> Hi,
> I have upgraded from python-mode 6.0.11 to 6.1.2 and now I have some trouble with fill-paragraph within docstrings. It works ok for comments.
>
> If the point is within the second paragraph M-q converts:
>
> """Returns a rewritten path.
>
> Assuming that ``cr`` is a :class:`ContextRewriter` instance,
> that the rewriter maps the path ``views/<filename>`` to
>
> into:
>
> """Returns a rewritten path.
> Assuming that ``cr`` is a :class:`ContextRewriter` instance,
> that the rewriter maps the path ``views/<filename>`` to
>
> And scrolls the buffer/window so that "Assuming that ..." appears in the top of the window.
>
> It seems to work ok if I select the whole paragraph before pressing M-q.
>
>
> I have tested it under a clean environment in a virtual machine, emacs 23.3.1, ubuntu 12.04, with a minimal setup.
>
> .emacs is just:
>
> (setq py-install-directory (expand-file-name "~/.emacs.d"))
> (add-to-list 'load-path py-install-directory)
> (require 'python-mode)
>
> Is this a known issue or am I missing something?
>
>
>
> Thanks in advance