From: David Bremner Date: Sat, 5 Mar 2016 00:49:01 +0000 (+2000) Subject: Re: [PATCH 1/2] STYLE: document some rules about variable declarations X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b5859b19d0c8e402504998e1f046ddf4760245c6;p=notmuch-archives.git Re: [PATCH 1/2] STYLE: document some rules about variable declarations --- diff --git a/89/a1248872a5a7354b183a1d92015761c9d621b4 b/89/a1248872a5a7354b183a1d92015761c9d621b4 new file mode 100644 index 000000000..d8547b8b1 --- /dev/null +++ b/89/a1248872a5a7354b183a1d92015761c9d621b4 @@ -0,0 +1,58 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id EFF206DE15C7 + for ; Fri, 4 Mar 2016 16:49:04 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.034 +X-Spam-Level: +X-Spam-Status: No, score=-0.034 tagged_above=-999 required=5 + tests=[AWL=-0.023, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] + autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id j4rdg49J-zQ6 for ; + Fri, 4 Mar 2016 16:49:03 -0800 (PST) +Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) + by arlo.cworth.org (Postfix) with ESMTPS id 44EAD6DE15C2 + for ; Fri, 4 Mar 2016 16:49:03 -0800 (PST) +Received: from remotemail by fethera.tethera.net with local (Exim 4.84) + (envelope-from ) + id 1ac0Pd-0007vP-Dr; Fri, 04 Mar 2016 19:49:41 -0500 +Received: (nullmailer pid 24954 invoked by uid 1000); + Sat, 05 Mar 2016 00:49:01 -0000 +From: David Bremner +To: notmuch@notmuchmail.org +Subject: Re: [PATCH 1/2] STYLE: document some rules about variable + declarations +In-Reply-To: <1455383479-9946-1-git-send-email-david@tethera.net> +References: <1455383479-9946-1-git-send-email-david@tethera.net> +User-Agent: Notmuch/0.21+26~g9404723 (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Fri, 04 Mar 2016 20:49:01 -0400 +Message-ID: <871t7pvjeq.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +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: Sat, 05 Mar 2016 00:49:05 -0000 + +David Bremner writes: + +> No-one seemed opposed to C99 style loop variable declarations. The +> requirement to declare variables at the top of blocks is maybe a little +> more contested, but I believe it reflects the status quo. + +pushed both of these style guide updates