Re: [Anjuta-list] [Patch] BSD/Allman style indent addtion



On Wed, 2007-06-27 at 11:25 -0700, roger wrote:
> This patch adds BSD/Allman style to indent options.

Since I can't find where this style is documented (except for wiki),
I've negated it down to this set of options:
$ indent -bl -bli0 -ci4 -cli4 -cbi4 -i4 -ip4 -ncdw -nce -npcs -npsl -ts4
foo.c

But after using Anjuta, I further added Spaces After Procedures and
Indentation for Comments:
$ indent -bad -bap -nbbo -bl -bli0 -c33 -cbi4 -cd33 -ncdw -nce -ci4
-cli4 -cp33 -d0 -i4 -ip4 -npcs -npsl -nsc -sob -ts4 foo.c

--
Roger
http://www.eskimo.com/~roger/index.html
Key fingerprint = 8977 A252 2623 F567 70CD 1261 640F C963 1005 1D61

Wed Jun 27 11:38:14 PDT 2007





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