Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.python
Re: [Tutor] Spaces and tabs messing up code
Reed O'Brien
1/9/2008 2:02:00 AM
On Jan 8, 2008, at 7:49 PM, Bill Campbell wrote:
> On Tue, Jan 08, 2008, mobiledreamers@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
>> hard
>> 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 :-).
>
> Bill
> --
> INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC
> URL:
http://www.cele...
PO Box 820; 6641 E. Mercer Way
> FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206)
> 236-1676
>
> Giving money and power to government is like giving whiskey and car
> keys to
> teenage boys -- P.J. O'Rourke
> _______________________________________________
> Tutor maillist - Tutor@python.org
>
http://mail.python.org/mailman/list...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: [Tutor] Spaces and tabs messing up code
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password