Am 29.01.2011 22:34, schrieb g.bra...@gmx.net:

-------- Original-Nachricht --------
Datum: Sat, 29 Jan 2011 15:20:56 -0600
Von: s...@pobox.com
An: "Andreas Röhler"<andreas.roeh...@online.de>
CC: python-mode@python.org
Betreff: Re: [Python-mode] paragraph-fill-warts branch


     Andreas>  the old bug should be gone now.

     Andreas>  As its redone from the bottom, filling isn't correct yet.

     Andreas>  However, borders of triple-quoted-string now are recognised,

     Andreas>  `ar-bounds-of-triplequoted-atpt' should report it for
example,

     Andreas>  the remaining should not be a rocky mountain.

Looks much better.  Goes from this:

     """
     triple-quoted string containing "quotation" marks.
     triple-quoted string containing "quotation" marks.
     triple-quoted string containing "quotation" marks.
     triple-quoted string containing "quotation" marks.
     triple-quoted string containing "quotation" marks.
     """

to this:

     """ triple-quoted string containing "quotation" marks.  triple-quoted
string
     containing "quotation" marks.  triple-quoted string containing
"quotation"
     marks.  triple-quoted string containing "quotation" marks.
triple-quoted
     string containing "quotation" marks.  """

no matter where I place the cursor.

Which is not how this should work.

* If there is an initial linebreak it should remain there.
* If there is a final linebreak it should remain there.

And if there is no initial linebreak, please do not put a
space between the quotes and the docstring text.

Georg

Hi Georg, hi Skip,

just checked in a new version of fill-warts branch and also components branch

It's definitly upwards the hill, but some issues remain.

We have a bug in GNU's fill.el

After paragraph-fill-function is called, it should retire from all other work.

Unfortunatly later on (fill-region-as-paragraph beg end justify) comes across and messes it up.

Altogether looks with GNU still better than with XEmacs, which progresses also.

To make some pieces from the remaining:

Could you check with `py-fill-paragraph' directly leaving out M-q?
That would make it easier coming to some result.

When reporting the remaining bugs, please make an entry in the tracker and mention the kind of Emacs/version.

Thanks all

Andreas





_______________________________________________
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode

Reply via email to