Re: [PATCH] STYLE: Initial draft of coding style document
authorPieter Praet <pieter@praet.org>
Sun, 19 Feb 2012 20:54:29 +0000 (21:54 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:44:43 +0000 (09:44 -0800)
8d/802c926988cb5b3c9fe47ea906c0a99c2006a0 [new file with mode: 0644]

diff --git a/8d/802c926988cb5b3c9fe47ea906c0a99c2006a0 b/8d/802c926988cb5b3c9fe47ea906c0a99c2006a0
new file mode 100644 (file)
index 0000000..dd86787
--- /dev/null
@@ -0,0 +1,114 @@
+Return-Path: <pieter@praet.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id CEF45431FAE\r
+       for <notmuch@notmuchmail.org>; Sun, 19 Feb 2012 12:56:48 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id upEeOiaIK-H1 for <notmuch@notmuchmail.org>;\r
+       Sun, 19 Feb 2012 12:56:46 -0800 (PST)\r
+Received: from mail-we0-f181.google.com (mail-we0-f181.google.com\r
+       [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 3FE04431FAF\r
+       for <notmuch@notmuchmail.org>; Sun, 19 Feb 2012 12:56:46 -0800 (PST)\r
+Received: by werp13 with SMTP id p13so3519901wer.26\r
+       for <notmuch@notmuchmail.org>; Sun, 19 Feb 2012 12:56:45 -0800 (PST)\r
+Received-SPF: pass (google.com: domain of pieter@praet.org designates\r
+       10.216.135.214 as permitted sender) client-ip=10.216.135.214; \r
+Authentication-Results: mr.google.com;\r
+       spf=pass (google.com: domain of pieter@praet.org\r
+       designates 10.216.135.214 as permitted sender)\r
+       smtp.mail=pieter@praet.org\r
+Received: from mr.google.com ([10.216.135.214])\r
+       by 10.216.135.214 with SMTP id u64mr2975553wei.58.1329685005121\r
+       (num_hops = 1); Sun, 19 Feb 2012 12:56:45 -0800 (PST)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=google.com; s=gamma;\r
+       h=from:to:cc:subject:in-reply-to:references:user-agent:date\r
+       :message-id:mime-version:content-type:x-gm-message-state;\r
+       bh=2TUsxvqIRb2TIAUyCkw8dgQTRAPmF6M1rQhzS5V8hKM=;\r
+       b=Xqweav86HCKxcPdFfeaTeQfzD5WxUhdJHoR4UYb5rywRG2NqGj8uAgeE3cGULMTBOK\r
+       JZCG3UpivyWl1SaySMHfsCI4R9OAh102lkqbzPR0g/d5/pLimroH1GsNDi23f9Rh/uuj\r
+       tyujAo4ZkvkRzhRhyl0U2qxs+2T/75IRVFTvk=\r
+Received: by 10.216.135.214 with SMTP id u64mr2476471wei.58.1329685005037;\r
+       Sun, 19 Feb 2012 12:56:45 -0800 (PST)\r
+Received: from localhost (104.218-242-81.adsl-dyn.isp.belgacom.be.\r
+       [81.242.218.104])\r
+       by mx.google.com with ESMTPS id n5sm29335667wiw.7.2012.02.19.12.56.43\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Sun, 19 Feb 2012 12:56:44 -0800 (PST)\r
+From: Pieter Praet <pieter@praet.org>\r
+To: David Bremner <bremner@debian.org>, Austin Clements <amdragon@MIT.EDU>\r
+Subject: Re: [PATCH] STYLE: Initial draft of coding style document\r
+In-Reply-To: <87sjif33vq.fsf@zancas.localnet>\r
+References: <1327708018-1107-1-git-send-email-david@tethera.net>\r
+       <m2ehuhdzls.fsf@guru.guru-group.fi>\r
+       <CAB+hUn-o8JyWPqS+1e37m171cR04=LNOCBxFLyUiRK1vWjbe3g@mail.gmail.com>\r
+       <87vcnnjuac.fsf@rocinante.cs.unb.ca>\r
+       <20120206044205.GQ10898@mit.edu> <87sjif33vq.fsf@zancas.localnet>\r
+User-Agent: Notmuch/0.11.1+210~g6afc43e (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-unknown-linux-gnu)\r
+Date: Sun, 19 Feb 2012 21:54:29 +0100\r
+Message-ID: <87d39asfwa.fsf@praet.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-Gm-Message-State:\r
+ ALoCoQm61JgBjXAaqCsjjfheaVmLSG3dqnY6DGGLC21LcZtd2mjeQ2eZrSUf9iK1u/GIbtcdMhRu\r
+Cc: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 19 Feb 2012 20:56:49 -0000\r
+\r
+On Sun, 12 Feb 2012 21:42:49 -0400, David Bremner <bremner@debian.org> wrote:\r
+> On Sun, 5 Feb 2012 23:42:05 -0500, Austin Clements <amdragon@MIT.EDU> wrote:\r
+> > \r
+> > Any indentation style this difficult to explain can't be a good idea.\r
+> > How about,\r
+> > \r
+> > * Indent is 4 spaces with mixed tab/spaces and a tab width of 8.\r
+> >   (Specifically, a line should begin with zero or more tabs followed\r
+> >   by fewer than eight spaces.)\r
+> \r
+> Oh, I pushed the style guide, with Austin's suggested wording.\r
+>\r
+\r
+We could also borrow from the Cairo coding style guidelines [1].\r
+\r
+Or perhaps we should get rid of the mixed tabs/spaces deal altogether?\r
+Carl once mentioned he planned to convert to using mod-8 tabs only [2].\r
+Linus agrees [3] :)\r
+\r
+> d\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> http://notmuchmail.org/mailman/listinfo/notmuch\r
+\r
+\r
+Peace\r
+\r
+-- \r
+Pieter\r
+\r
+[1] http://cgit.freedesktop.org/cairo/tree/CODING_STYLE\r
+[2] id:"87ocmwok2w.fsf@yoom.home.cworth.org"\r
+    http://mid.gmane.org/87ocmwok2w.fsf@yoom.home.cworth.org\r
+[3] http://www.kernel.org/doc/Documentation/CodingStyle\r