[Python-mode] Latest paragraph-fill-warts branch

skip at pobox.com skip at pobox.com
Sun Feb 13 22:50:43 CET 2011


I don't know where we left things w.r.t. the Andreas's paragraph-fill-warts
branch, but I just updated and fired up a new copy of XEmacs.  Then edited
my current small test file.  After filling the doc string I see the same
issue reported before by (I think) Georg.  When filling 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.
    """

I wind up with 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.  """

That is, the newline after the first tqs and before the last tqs are not
preserved. This would have been ideal:

    """
    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.
    """

Also, take a look at the attached png file.  Is it possible to color
"quotation" green?

Skip

-------------- next part --------------
A non-text attachment was scrubbed...
Name: warts.png
Type: image/png
Size: 10318 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-mode/attachments/20110213/b9d291a9/attachment.png>


More information about the Python-mode mailing list