On 2012-11-03 16:06, Philippe Michel wrote: > with -br being your -kr. If this is the only discrepancy or there is > enough of a common subset, it should be ok.
-kr is Kernighan and Ritchie style. That style uses these options: -nbad -bap -bbo -nbc -br -brs -c33 -cd33 -ncdb -ce -ci4 -cli0 -cp33 -cs -d0 -di1 -nfc1 -nfca -hnl -i4 -ip0 -l75 -lp -npcs -nprs -npsl -saf -sai -saw -nsc -nsob -nss By specifying -kr I am forcing the default settings above with the extra modification -l120 -fc1 -sc which affects the right margin, and the commenting style. -l120 could be argued though. I do know the default -l75 doesn't seem wide enough given the depth of some of our existing indentation levels and line lengths. -br (brackets on if statement line) is implied by selecting -kr . This was with GNU indent 2.2.11 . As for the extra blank lines, I personally don't mind them, but I'd be willing to compromise on that point if I had to. Thanks for your feedback Philippe. -- Michael Petch CApp::Sysware Consulting Ltd. OpenPGP FingerPrint=D81C 6A0D 987E 7DA5 3219 6715 466A 2ACE 5CAE 3304 _______________________________________________ Bug-gnubg mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-gnubg
