[Python-mode] [ python-mode-Bugs-1241188 ] fill-paragraph (M-q) does awful things to python code

SourceForge.net noreply at sourceforge.net
Tue Jul 19 23:31:32 CEST 2005


Bugs item #1241188, was opened at 2005-07-19 16:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=581349&aid=1241188&group_id=86916

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Mike Coleman (mkc)
Assigned to: Nobody/Anonymous (nobody)
Summary: fill-paragraph (M-q) does awful things to python code

Initial Comment:
It would be nice if fill-paragraph (M-q) did reasonable
things to python code.  For example, it could wrap all
strings and comments in the enclosing function,
breaking up strings into adjacent one-line substrings
"like" "this".

Even better, it would be nice if it would reformat long
expressions so that they were nicely wrapped (e.g.,
arranging split binary expressions so that the operator
is at the beginning of a line rather than the end).


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=581349&aid=1241188&group_id=86916


More information about the Python-mode mailing list