From: Pieter Praet <pieter@praet.org>
To: David Bremner <bremner@debian.org>, Austin Clements <amdragon@MIT.EDU>
Cc: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org
Subject: Re: [PATCH] STYLE: Initial draft of coding style document
Date: Sun, 19 Feb 2012 21:54:29 +0100 [thread overview]
Message-ID: <87d39asfwa.fsf@praet.org> (raw)
In-Reply-To: <87sjif33vq.fsf@zancas.localnet>
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
prev parent reply other threads:[~2012-02-19 20:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-27 23:46 [PATCH] STYLE: Initial draft of coding style document David Bremner
2012-01-30 14:38 ` Tomi Ollila
2012-01-30 16:01 ` Jani Nikula
2012-02-04 0:50 ` David Bremner
2012-02-06 4:42 ` Austin Clements
2012-02-13 1:42 ` David Bremner
2012-02-19 20:54 ` Pieter Praet [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d39asfwa.fsf@praet.org \
--to=pieter@praet.org \
--cc=amdragon@MIT.EDU \
--cc=bremner@debian.org \
--cc=notmuch@notmuchmail.org \
--cc=tomi.ollila@iki.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).