[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vi spaces and EMACS tabs -> conflicting

From: Greg A. Woods
Subject: Re: vi spaces and EMACS tabs -> conflicting
Date: Wed, 23 Jan 2002 18:04:37 -0500 (EST)

[ On Wednesday, January 23, 2002 at 13:10:24 (-0800), TC Shen wrote: ]
> Subject: vi spaces and EMACS tabs -> conflicting
>   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?

This isn't a CVS problem.  It's an issue with your local style guide
policies.  If you're going to use any diff-based version control tool
then you've got to get everyone in your group to agree to the rules for
whitespace and indentation.

If a TAB is a TAB is a TAB then though shalt not ever convert it to spaces.

(and a TAB is of course always exactly 8 spaces wide, no more, and no
less; with the first tab stop implied to be in the first column)

"Real programmers(TM)" use a single TAB as a unit of indentation, and
they don't listen to any whining from losers who don't know how to
either A) open windows with more than 80 characters per line, or B) deal
with line wrap.

                                                                Greg A. Woods

+1 416 218-0098;  <address@hidden>;  <address@hidden>;  <address@hidden>
Planix, Inc. <address@hidden>; VE3TCP; Secrets of the Weird <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]