Re: Tabs in the code and 80 characters
Daniel Veillard <[email protected]> Mon, 17 Mar 2003 18:46:20 -0500
| Newsgroups | gmane.comp.gnome.gdome |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Mar 17, 2003 at 03:36:58PM -0800, Blair Zajac wrote: > I'm getting onto religious grounds here, but I'd like to make a > request about the use of tab's and the number of characters per > line. yeah, that's religious, good luck arguing about this :-) > I have no issue with 2 character indent for the code itself, since > I use 2 characters often myself. I use this for libxml2/libxslt code, so far nobody complained: paphio:~/XML -> cat ~/bin/cb #!/bin/sh indent -bad -bap -bbb -bli4 -br -ce -brs -cs -i4 -l75 -lc75 -nut -sbi4 -psl -saf -sai -saw -sbi4 -ss -sc -cdw -cli4 -npcs -nbc paphio:~/XML -> That allowed me to keep a consistent code look. Consistency may actually be more important than the setting selected. my 2 eurocents, Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ [email protected] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/