[PATCH] STYLE: Initial draft of coding style document
Pieter Praet
pieter at praet.org
Sun Feb 19 12:54:29 PST 2012
On Sun, 12 Feb 2012 21:42:49 -0400, David Bremner <bremner at debian.org> wrote:
> On Sun, 5 Feb 2012 23:42:05 -0500, Austin Clements <amdragon at MIT.EDU> wrote:
> >
> > Any indentation style this difficult to explain can't be a good idea.
> > How about,
> >
> > * Indent is 4 spaces with mixed tab/spaces and a tab width of 8.
> > (Specifically, a line should begin with zero or more tabs followed
> > by fewer than eight spaces.)
>
> Oh, I pushed the style guide, with Austin's suggested wording.
>
We could also borrow from the Cairo coding style guidelines [1].
Or perhaps we should get rid of the mixed tabs/spaces deal altogether?
Carl once mentioned he planned to convert to using mod-8 tabs only [2].
Linus agrees [3] :)
> d
> _______________________________________________
> notmuch mailing list
> notmuch at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch
Peace
--
Pieter
[1] http://cgit.freedesktop.org/cairo/tree/CODING_STYLE
[2] id:"87ocmwok2w.fsf at yoom.home.cworth.org"
http://mid.gmane.org/87ocmwok2w.fsf@yoom.home.cworth.org
[3] http://www.kernel.org/doc/Documentation/CodingStyle
More information about the notmuch
mailing list