Fix weird tab situations for python in emacs

From HeepyWiki
Jump to: navigation, search

4-space indentation is preferable. if a file is full of tabs, it is gross.

first m-x set-variable tab-width 4

then select the whole file in a region

then m-x untabify