[Q] pindent improvement

Andrei Smirnov asmirnov at asmirnov.com
Mon Dec 16 09:18:25 EST 2002


hi

i just found that pindent.py is usefull program. to make it more usefull
i think it would be good to add another mode which inserts #{ #} pairs.

E.g.

if a == 5: #{
    ... 1000 lines of code
#}

emacs paren location keystrokes is great deal and #{ }# will make it work.

did anyone already do that. if yes is it possible to get improved pindent.py
from that anyone?

regards, 
Andrei Smirnov

P.S: i am not big fan of inserting of 1000 lines in one block. but i know
people who would do that and i don't have any chance to explain to them what's
wrong with that.



More information about the Python-list mailing list