Re: gnu indent: how to avoid extra indent?



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)


.



Relevant Pages