Tabs/spaces coding style question

Adam Jackson ajax at nwnk.net
Wed Nov 19 10:46:59 PST 2008


On Wed, 2008-11-19 at 09:57 -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.

Really, this is the sort of thing we should just enforce in a commit
hook.  At which point it doesn't matter what your editor does.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20081119/67b62203/attachment.pgp>


More information about the xorg mailing list