Re: gnu indent: how to avoid extra indent?
- From: CBFalconer <cbfalconer@xxxxxxxxx>
- Date: Sun, 31 Dec 2006 06:31:17 -0500
james of tucson wrote:
dt wrote:
I don't seem to see any options that turn off this extra
indent. How do I do this? Any ideas?
The syntax for indent is pretty arcane, I would say "baroque", and I
don't care for it. I can't answer your question directly, but here is
the "indent.pro" I use. Let me know if you like the results better than
the default or the switches you use:
-bad -bap -bbo -bc -br -brs -ncdb -ce -ci4 -cli4
-cp33 -di4 -fc1 -fca -hnl -i4 -ip4 -l75 -lp -npcs -nprs -npsl
-saf -sai -saw -sc -nsob -nss -ts4 -nut -c4
And here is the one I use on indent 2.2.9
-kr -l66 -i3 -bad -di16 -lc66 -nce -ncs -cbi0 -bbo -pmt -psl -ts1
-cdw
--
Some informative links:
<http://members.fortunecity.com/nnqweb/> (newusers)
<http://www.catb.org/~esr/faqs/smart-questions.html>
<http://www.caliburn.nl/topposting.html>
<http://www.netmeister.org/news/learn2quote.html>
<http://cfaj.freeshell.org/google/> (taming google)
.
- References:
- Re: gnu indent: how to avoid extra indent?
- From: james of tucson
- Re: gnu indent: how to avoid extra indent?
- Prev by Date: Re: Good ways to analyze a running c-program?
- Next by Date: Re: without loop printing 1 to n
- Previous by thread: Re: gnu indent: how to avoid extra indent?
- Next by thread: size_t or int for malloc-type functions?
- Index(es):
Relevant Pages
|