tab-width 4 and line length < 80, please

2010-11-22 Thread Hallvard B Furuseth
A reminder: The OpenLDAP source code uses tab-width 4 and generally lines < 80 chars. Please commit code written the same way, except in files that are already written with tab-width 8. Some people have been committing with tab-width 8, so the code now contains a mixture of tab-width 4 an

tab-width 4 (was: commit: ldap/servers/slapd/back-ldif ldif.c)

2010-01-18 Thread Hallvard B Furuseth
Please use tab-width 4 like most of the rest of the code. Unless you are in a tab-width 8 file, anyway. This mixture of tab-width 4 and 8 keeps misaligning more and more of the code, one line here and one there over the years. In this case the 'struct ldif_tool' contents, which w

Re: tab-width

2007-08-16 Thread Gavin Henry
Hallvard B Furuseth wrote: Pierangelo Masarati writes: Just noticed your indentation... Note that OpenLDAP code looks best when edited and displayed with tab-width 4, not 8. I've used a width of 8 since 1999, and it looked just fine since then :) Including lines - i.e. declarations

Re: tab-width (was: commit: ldap/servers/slapd backend.c bconfig.c proto-slap.h)

2007-08-16 Thread Hallvard B Furuseth
Pierangelo Masarati writes: >> Just noticed your indentation... Note that OpenLDAP code looks >> best when edited and displayed with tab-width 4, not 8. > > I've used a width of 8 since 1999, and it looked just fine since then :) Including lines - i.e. declarations,

Re: tab-width (was: commit: ldap/servers/slapd backend.c bconfig.c proto-slap.h)

2007-08-16 Thread Pierangelo Masarati
> [EMAIL PROTECTED] writes: >> Modified Files: >> backend.c 1.384 -> 1.385 > > Just noticed your indentation... Note that OpenLDAP code looks > best when edited and displayed with tab-width 4, not 8. I've used a width of 8 since 1999, and it looked ju

tab-width (was: commit: ldap/servers/slapd backend.c bconfig.c proto-slap.h)

2007-08-16 Thread Hallvard B Furuseth
[EMAIL PROTECTED] writes: > Modified Files: > backend.c 1.384 -> 1.385 Just noticed your indentation... Note that OpenLDAP code looks best when edited and displayed with tab-width 4, not 8. -- Hallvard