Emacs has eaten my python tabs!!!

Chris Gonnerman chris.gonnerman at newcenturycomputers.net
Sun Jan 26 08:53:36 EST 2003


----- Original Message ----- 
From: "Mongryong" <Mongryong at sympatico.ca>


> Ok, I did some cut and paste from python source which had different
> tabs.  In emacs it appears the tabs are in the right place but Python is
> complaining about indentation errors.  I've tried changing the
> tab-width/tab-stop in emacs but still no luck.

No help for it now... you'll just have to replace
all the tabs with spaces (or run a tool that corrects
tab positioning in Python source).

The standard library module "tabnanny.py" can be used
to *find* ambiguous tab/space mixtures, but it doesn't
fix them for you.

Chris Gonnerman -- chris.gonnerman at newcenturycomputers.net
http://newcenturycomputers.net

 





More information about the Python-list mailing list