python mode indentation problem
Xah Lee
xah at xahlee.org
Sat Jan 15 21:31:18 EST 2005
© ok, here's the ordeal.
©
© for i in range(5):
© print i
© for i in range(2):
© print i, 'tt'
© for i in [3]:
© print i
© for i in [32]:
© print i
©
© # 1 level, 4 space
© # 2 level, 1 tab
© # 3 level, 1 tab, 4 spaces
© # 4 level, 2 tabs.
©
© who the fuck coded the python mode in emacs? fuckhead please peruse:
© http://xahlee.org/UnixResource_dir/writ/responsible_license.html
©
© PS Thanks for the tip on (setq-default indent-tabs-mode nil).
©
© Xah
© xah at xahlee.org
© http://xahlee.org/PageTwo_dir/more.html
More information about the Python-list
mailing list