I hesitate to open a new bug because this has probably been covered
somewhere and I already opened one (sort of) duplicate bug today, but it's
hard to tell because there are so many open triple-quoted string bug
reports.
Using the latest release I created a new file with just a #! line and a doc
string:
#!/usr/bin/env python
Maintain the recent best price and alert when it remains
the best price for a user-defined time.
When I attempt to fill the docstring's paragraph with the cursor positioned
in front of Maintain it zaps the space before 'best' and fails to actually
fill the paragraph:
#!/usr/bin/env python
Maintain the recentbest price and alert when it remains
the best price for a user-defined time.
If I then move the cursor down a line (point positioned ahead of 'the') and
fill again, I get this:
#!/usr/bin/env python
Maintain the recentbest price and alert when it remains the best price
for a user-defined
time.
which is pretty bad considering fill-column is set to 70 in that buffer.
This is using XEmacs 21.5.28 on Solaris. On XEmacs 21.4.22 (on Mac OSX) I
get somewhat different behavior. There, not sure why, but my fill-column is
76. It formats the entire docstring onto one line:
#!/usr/bin/env python
Maintain the recentbest price and alert when it remains the best price
for a user-defined time.
In short, I'm not sure that paragraph filling inside triple-quoted strings
is any better now than before the release. In fact, it might even be worse
overall. :-(
Skip
___
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode