[PATCH 2/2] STYLE: suggest long names
authorDavid Bremner <david@tethera.net>
Sat, 13 Feb 2016 17:11:19 +0000 (13:11 +2000)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:21:06 +0000 (16:21 -0700)
7e/5540306e395552702a2121e9657008cbb0f660 [new file with mode: 0644]

diff --git a/7e/5540306e395552702a2121e9657008cbb0f660 b/7e/5540306e395552702a2121e9657008cbb0f660
new file mode 100644 (file)
index 0000000..bce1d33
--- /dev/null
@@ -0,0 +1,69 @@
+Return-Path: <bremner@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 75BB26DE1903\r
+ for <notmuch@notmuchmail.org>; Sat, 13 Feb 2016 09:11:29 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.308\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.308 tagged_above=-999 required=5 tests=[AWL=0.243,\r
+  RP_MATCHES_RCVD=-0.55, SPF_PASS=-0.001] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id xsXwsdlnDvT0 for <notmuch@notmuchmail.org>;\r
+ Sat, 13 Feb 2016 09:11:28 -0800 (PST)\r
+Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id C516F6DE0A9A\r
+ for <notmuch@notmuchmail.org>; Sat, 13 Feb 2016 09:11:27 -0800 (PST)\r
+Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
+ (envelope-from <bremner@tethera.net>)\r
+ id 1aUdiX-0004KE-KD; Sat, 13 Feb 2016 12:10:45 -0500\r
+Received: (nullmailer pid 9997 invoked by uid 1000);\r
+ Sat, 13 Feb 2016 17:11:26 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 2/2] STYLE: suggest long names\r
+Date: Sat, 13 Feb 2016 13:11:19 -0400\r
+Message-Id: <1455383479-9946-2-git-send-email-david@tethera.net>\r
+X-Mailer: git-send-email 2.6.4\r
+In-Reply-To: <1455383479-9946-1-git-send-email-david@tethera.net>\r
+References: <1455383479-9946-1-git-send-email-david@tethera.net>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://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: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 13 Feb 2016 17:11:29 -0000\r
+\r
+Hopefully the exceptions are common sense.\r
+---\r
+ devel/STYLE | 4 ++++\r
+ 1 file changed, 4 insertions(+)\r
+\r
+diff --git a/devel/STYLE b/devel/STYLE\r
+index b22d8d3..da65312 100644\r
+--- a/devel/STYLE\r
++++ b/devel/STYLE\r
+@@ -71,6 +71,10 @@ Naming\r
+ * Use lowercase_with_underscores for function, variable, and type\r
+   names.\r
\r
++* Except for variables with extremely small scope, and perhaps loop\r
++  indices, when naming variables and functions, err on the side of\r
++  verbosity.\r
++\r
+ * All structs should be typedef'd to a name ending with _t.  If the\r
+   struct has a tag, it should be the same as the typedef name, minus\r
+   the trailing _t.\r
+-- \r
+2.6.4\r
+\r