[MPlayer-dev-eng] [RFC] Reindentation of mplayer.c

Uoti Urpala uoti.urpala at pp1.inet.fi
Sun Aug 20 19:21:53 CEST 2006


On Sun, 2006-08-20 at 19:01 +0200, Ivo wrote:
> What do you think of running GNU indent on mplayer.c and maybe on other 
> files that have become pretty unreadable over the years and are 
> unmaintained?
> 
> Of course the default of indent is horrible (GNU coding style), so I came up 
> with a set of command line options, which I believe match the most commonly 
> accepted style for MPlayer. See the attached script.
> 
> Any comments? Or flames? :)

I tested those options and noticed at least one thing I don't like:
comments on their own line always seem to have no indentation.

    func1();
// comment
    func2();

I prefer to have those indented with the code, and the default kr style
in indent behaves like that.




More information about the MPlayer-dev-eng mailing list