Tabbing/Spaces

Barry A. Warsaw barry at digicool.com
Fri Jan 19 21:00:27 EST 2001


>>>>> "JH" == Johann Hibschman <johann at physics.berkeley.edu> writes:

    JH> A mixture of tabs and spaces is most common, I'm afraid, since
    JH> that's what emacs defaults to doing.

Not for python-mode.  The default for new Python files is 4-space
indentation levels and no tabs.  Python-mode will adapt somewhat to
the conventions already existing in the file though.

See the variable py-smart-indentation for all the gory details.

-Barry




More information about the Python-list mailing list