Re: [PATCH] STYLE: Initial draft of coding style document

Subject: Re: [PATCH] STYLE: Initial draft of coding style document

Date: Sun, 19 Feb 2012 21:54:29 +0100

To: David Bremner, Austin Clements

Cc: Tomi Ollila, notmuch@notmuchmail.org

From: Pieter Praet


On Sun, 12 Feb 2012 21:42:49 -0400, David Bremner <bremner@debian.org> wrote:
> On Sun, 5 Feb 2012 23:42:05 -0500, Austin Clements <amdragon@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@notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch


Peace

-- 
Pieter

[1] http://cgit.freedesktop.org/cairo/tree/CODING_STYLE
[2] id:"87ocmwok2w.fsf@yoom.home.cworth.org"
    http://mid.gmane.org/87ocmwok2w.fsf@yoom.home.cworth.org
[3] http://www.kernel.org/doc/Documentation/CodingStyle

Thread: