[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-indent] Patch vs indent-2.2.8
From: |
Cristalle Azundris Sabon |
Subject: |
[Bug-indent] Patch vs indent-2.2.8 |
Date: |
Tue, 2 Jul 2002 14:42:57 +0200 |
Hi,
I added support for the indentation-style we use in our
group. This adds the following:
--preprocessor-indentation (pwi) if set, will indent nested
preprocessor-statements with
n spaces per level. overrides
-lps.
--dont-pad-operators (npop) no spaces to either side of + == etc.
--pad-operators (pop) the default.
--no-space-after-commas (nsac) foo(a,b,c) rather than foo(a, b, c)
--space-after-commas (sac) the default.
--no-space-in-for (nsif) for(a;b;c) rather than for(a; b; c)
--space-in-for (sif) the default.
--cuddle-right-braces (crb) you'll hate this unless you like lisp.
--dont-cuddle-right-braces (ncrb) the default.
I feel that these add even more flexibility and consistency to
indent (if you have control over spaces *after* "for", you should
have control over spaces *in* for etc. : ).
Please let me know if there are more elegant ways of implementing
some of the stuff, you're more familiar with the code.
Also feel free to yell at me if I broke anything. : )
Azundris, hackerette-in-training
indent2.patch
Description: indent-2.2.8.patch
--
http://www.azundris.com/
- [Bug-indent] Patch vs indent-2.2.8,
Cristalle Azundris Sabon <=