Why aren't colons optional?

Edward K. Ream edream at tds.net
Sun Jan 20 06:21:26 EST 2002


> Same here. I use python-mode with emacs and so find my eyes looking at
> the following line and wondering why it's not indented (which
> python-mode will automatically do for you when it sees a colon).  My
> brain catches up and realizes it missed a colon.

Thanks for this comment!  A workaround might be to have Leo's
auto-indenter increase the indentation level after trailing colons...

Edward
--------------------------------------------------------------------
Edward K. Ream   email:  edream at tds.net
Leo: Literate Editor with Outlines
Leo: http://personalpages.tds.net/~edream/front.html
--------------------------------------------------------------------



More information about the Python-list mailing list