GNOME Bugzilla – Bug 133653
need to settle on coding style using indent and use it before 0.8
Last modified: 2004-12-22 21:47:04 UTC
* pick a style * code up the indent rules * add vim/emacs rules to source files * do one atomic commit of the diff when run through this
#!/bin/sh indent \ --braces-on-if-line \ --blank-lines-after-declarations \ --case-brace-indentation0 \ --case-indentation2 \ --braces-after-struct-decl-line \ --line-length80 \ --use-tabs \ --cuddle-else \ --dont-line-up-parentheses \ --continuation-indentation4 \ --honour-newlines \ --tab-size8 \ --indent-level2 \ $* .vimrc: au BufNewFile,BufRead /home/ds/gst/*.h,/home/ds/gst/*.c,/home/ds/gst/*.cc \ set shiftwidth=2 softtabstop=2 expandtab
How does that work with multiline macros? I like to put the \ at pos. 81
indent doesn't do anything with preprocessor directives, iirc. I would prefer that no line be longer than 80 characters. It just hides problems with no benefit.
Don't forget we have gstreamer/indent.pro.
it's a blocker since 0.8.0 should have it, so patches made from them on don't break because of indentation issues.
According to http://bugzilla.gnome.org/bug_status.html#severity it's trivial or minor at best. Note that priority is used for "when should this be applied?"
You are right. Since you are causing some irritation, you rank as minor. A workaround should exist. Oh, you meant *the bug* ? Sorry, didn't follow. No, I disagree :)
this is just like tennis :)
done, fixed