Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.python
Re: [Tutor] Spaces and tabs messing up code
Bill Campbell
1/9/2008 12:50:00 AM
On Tue, Jan 08, 2008, mobiledreamers@gmail.com wrote:
>
> my friend uses vim
>
> 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''
(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
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