do people really complain about significant whitespace?

Rob Wolfe blue99 at interia.pl
Wed Aug 9 10:33:41 EDT 2006


Slawomir Nowaczyk wrote:

> Really, typing brace after function/if/etc should add newlines and
> indent code as required -- automatically. Actually, for me, it is even
> *less* typing in C and similar languages... I probably should teach my
> Emacs to automatically add newline after colon in Python, just as it
> does after a brace in C... As soon as I figure out how to deal with
> dictionary literals. Hmmm.

Are you sure? My Emacs already know how to do it with the help
of python-mode and magic function py-newline-and-indent.

emacs-version "21.3.1"
py-version "$Revision: 4.63 $"

Regards,
Rob




More information about the Python-list mailing list