[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vi spaces and EMACS tabs -> conflicting
From: |
Steve Greenland |
Subject: |
Re: vi spaces and EMACS tabs -> conflicting |
Date: |
Wed, 23 Jan 2002 17:19:59 -0600 |
User-agent: |
Mutt/1.2.5i |
On Wed, Jan 23, 2002 at 04:57:46PM -0500, Larry Jones wrote:
> TC Shen writes:
> >
> > My friends are using VI and place spaces in front of each line and I
> > am using EMACS and press TAB key to reformat his file. When I do 'cvs
> > commit', nothing went wrong. Then, my friends checked out and did 'cvs
> > co' then he got a lot of conflictings. Is there any way we can tell CVS
> > to regard TAB the same as SPACE?
>
> No. Quit doing gratuitous reformatting.
Emacs can be set to never insert tabs in code. Set the variable
indent-tab-mode to nil. Now all you have to do is agree *how many*
spaces to indent.
Steve