On May 21, Jérôme Marant wrote: > I'm sorry, this may be a bit off topic but I don't really know > where I can post this question. > > I'm a bit annoyed with Emacs when editing Python programs because > Emacs always replaces TABs with spaces ; this wouldn't bother me if > Emacs was the only editor in the world. But when you share programs > with others, it is better to have real TABs instead of spaces. > I know about the "C-q TAB" but I don't want to use it every time > I want automatic indentation. > > Does anyone know how to achieve this?
When you're done editing... C-x h M-x tabify Of course, we all know that using tabs in Python code is Evil. :-) Chris -- Chris Lawrence <[EMAIL PROTECTED]> - http://www.lordsutch.com/chris/ Instructor and Ph.D. Candidate, Political Science, Univ. of Mississippi 208 Deupree Hall - 662-915-5765 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]