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

SourceForge.net noreply at sourceforge.net
Wed Sep 21 16:31:41 CEST 2005


Bugs item #1241188, was opened at 2005-07-19 21:31
Message generated for change (Comment added) made by hoffmanm
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).


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

Comment By: Michael Hoffman (hoffmanm)
Date: 2005-09-21 14:31

Message:
Logged In: YES 
user_id=987664

NOTABUG. This is really more of a feature request than a bug.

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

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