Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id CEF45431FAE for ; Sun, 19 Feb 2012 12:56:48 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id upEeOiaIK-H1 for ; Sun, 19 Feb 2012 12:56:46 -0800 (PST) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 3FE04431FAF for ; Sun, 19 Feb 2012 12:56:46 -0800 (PST) Received: by werp13 with SMTP id p13so3519901wer.26 for ; Sun, 19 Feb 2012 12:56:45 -0800 (PST) Received-SPF: pass (google.com: domain of pieter@praet.org designates 10.216.135.214 as permitted sender) client-ip=10.216.135.214; Authentication-Results: mr.google.com; spf=pass (google.com: domain of pieter@praet.org designates 10.216.135.214 as permitted sender) smtp.mail=pieter@praet.org Received: from mr.google.com ([10.216.135.214]) by 10.216.135.214 with SMTP id u64mr2975553wei.58.1329685005121 (num_hops = 1); Sun, 19 Feb 2012 12:56:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type:x-gm-message-state; bh=2TUsxvqIRb2TIAUyCkw8dgQTRAPmF6M1rQhzS5V8hKM=; b=Xqweav86HCKxcPdFfeaTeQfzD5WxUhdJHoR4UYb5rywRG2NqGj8uAgeE3cGULMTBOK JZCG3UpivyWl1SaySMHfsCI4R9OAh102lkqbzPR0g/d5/pLimroH1GsNDi23f9Rh/uuj tyujAo4ZkvkRzhRhyl0U2qxs+2T/75IRVFTvk= Received: by 10.216.135.214 with SMTP id u64mr2476471wei.58.1329685005037; Sun, 19 Feb 2012 12:56:45 -0800 (PST) Received: from localhost (104.218-242-81.adsl-dyn.isp.belgacom.be. [81.242.218.104]) by mx.google.com with ESMTPS id n5sm29335667wiw.7.2012.02.19.12.56.43 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 19 Feb 2012 12:56:44 -0800 (PST) From: Pieter Praet To: David Bremner , Austin Clements Subject: Re: [PATCH] STYLE: Initial draft of coding style document In-Reply-To: <87sjif33vq.fsf@zancas.localnet> References: <1327708018-1107-1-git-send-email-david@tethera.net> <87vcnnjuac.fsf@rocinante.cs.unb.ca> <20120206044205.GQ10898@mit.edu> <87sjif33vq.fsf@zancas.localnet> User-Agent: Notmuch/0.11.1+210~g6afc43e (http://notmuchmail.org) Emacs/23.3.1 (x86_64-unknown-linux-gnu) Date: Sun, 19 Feb 2012 21:54:29 +0100 Message-ID: <87d39asfwa.fsf@praet.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Gm-Message-State: ALoCoQm61JgBjXAaqCsjjfheaVmLSG3dqnY6DGGLC21LcZtd2mjeQ2eZrSUf9iK1u/GIbtcdMhRu Cc: Tomi Ollila , notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2012 20:56:49 -0000 On Sun, 12 Feb 2012 21:42:49 -0400, David Bremner wrote: > On Sun, 5 Feb 2012 23:42:05 -0500, Austin Clements 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