Hi Michael, I've always prefered spaces to tabs in source code, but it's a minor issue and care more for consistency adhering to a standard coding style (whatever that is). As for line endings, I thought CVS is supposed to convert line endings to the system they're being checked out to, depending on the CVS setting for the file and if it got checked in as binary or text? steven On Feb 17, 2008 11:42 AM, Michael Gogins wrote: > In the course of putting together an MSVC build for Csound I have encountered inconsistent tabs/spaces in SConstruct and other files, inconsistent Windows/OS X/Unix line endings, and so on. > > Please, can we agree on the following standards for source code editing? > > -- All line endings should be Unix line endings (one linefeed, no carriage return). > > -- When you inspect whitespace in a source file, you should always see 1 tab character every 4 spaces, never any blocks of spaces. (Actually it can be every 8 spaces, but it is important to use tabs not spaces for indenting.) > > A number of things broke in my build and John ffitch's build related to these issues: SConstruct failed due to mixture of tabs and spaces for Python indenting, and a number of files had OS X line endings and would not build with MSVC at all until I reformatted them. > > It is important to be consistent in a cross-platform project, and Posix/GNU is a reasonable standard. > > Please let us know if there are questions or objections. > > Regards, > Mike > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net