Tabs/spaces coding style question

Peter Hutterer peter.hutterer at who-t.net
Wed Nov 19 15:05:58 PST 2008


On Wed, Nov 19, 2008 at 09:57:40AM -0800, Dan Nicholson wrote:
> Sorry for the bikeshed question, but I'm confused by what style I
> should be using when patching the server. It seems that the consensus
> is 4-space indentation, and that's fine. But I keep seeing that when
> the opening indentation is at least 8, real tabs are used to fill as
> much as possible. Is that the intention? If not, should I keep that
> style when patching into code that does? I don't care what style is
> used.

http://wiki.x.org/wiki/CodingStyle
just FYI in case you haven't seen it yet. I think is the "most official" we
have. I'm a particularly big fan of the randomly occuring
tabspacespacespacetabtabspace indentation. It makes me go all warm inside.

Cheers,
  Peter



More information about the xorg mailing list