Fix weird tab situations for python in emacs

From HeepyWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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