Re: [Pipmak-Devel] another way of measuring the mouse speed
Status: Alpha
Brought to you by:
cwalther
From: Christian W. <cwa...@gm...> - 2008-01-12 12:56:05
|
I wrote: > I can see if I can come up with a set of rules that approximately match my coding style. So far I haven't had much success with GNU indent 2.2.9 - I have come up with the options -br -brs -npsl -l1000 -npcs -ncs -ut -c0 -cd0 -cp0 (plus a whole bunch of '-T xyz' to make it recognize casts and tell pointer * from multiplication) but there are still several things wrong: - I specify -br, but it still changes int func() { return 5; } to int func() { return 5; } - I specify -ut, but it still changes my indenting tabs into spaces (but, curiously, it changes spaces between code and comments into tabs). - I haven't found a way of stopping it from changing if (a) b(); to if (a) b(); (if anything, it should change it to if (a) { b(); } ) Unless you can help me with these, I fear we have to give up the idea of using indent. -Christian |