[Python-mode] code/macros to reformat code
m h
sesquile at gmail.com
Wed May 11 00:44:53 CEST 2011
Folks-
I was wondering if anyone has some code floating around to reformat
code after the code passes a certain column (say 79 or 80).
What I'm looking for is reformatting long lines. I'd like to convert
something like (assume the k of junk is around 78):
my_string = "foo bar baz ... junk stuff etc"
to:
my_string = "foo bar baz ... junk"
"stuff etc"
My searches have turned up nothing, but I'm assuming someone has something.
cheers,
-matt
More information about the Python-mode
mailing list