[Tutor] Spaces and tabs messing up code
reed at reedobrien.com
Wed Jan 9 03:02:24 CET 2008
On Jan 8, 2008, at 7:49 PM, Bill Campbell wrote:
> On Tue, Jan 08, 2008, mobiledreamers at gmail.com wrote:
>> my friend uses vim
Small editors for small minds;)
>> and i use xemacs
>> so our shared python code is a mix of tabs and spaces and it is
>> for him to edit it in vim
>> any idea on how to make it clean
>> convert it all to 4 spaces?
> Do that, and in his ~/.vimrc file, add a line ``set expandtab''
Tell him to use emacs.
> (Friends don't let friends use emacs :-).
> INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC
> URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
> FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206)
> Giving money and power to government is like giving whiskey and car
> keys to
> teenage boys -- P.J. O'Rourke
> Tutor maillist - Tutor at python.org
More information about the Tutor