Emacs has eaten my python tabs!!!
Mongryong
Mongryong at sympatico.ca
Sun Jan 26 10:37:14 EST 2003
Doesn't python rely on tabs?
On Sun, 2003-01-26 at 10:12, Skip Montanaro wrote:
>
> Mongryong> Ok, I did some cut and paste from python source which had
> Mongryong> different tabs. In emacs it appears the tabs are in the
> Mongryong> right place but Python is complaining about indentation
> Mongryong> errors. I've tried changing the tab-width/tab-stop in emacs
> Mongryong> but still no luck.
>
> If everything lines up (that is, visually the code appears properly indented
> within Emacs), simply select the entire buffer and execute M-x untabify.
> You'll wind up with source code which only uses spaces for indentation.
> Keep it that way. You'll have far fewer problems of this sort. ;-)
>
> Skip
More information about the Python-list
mailing list