Re: [PATCH 1/5] nmbug-status: Avoid hard-coded filename in error message
authorDavid Bremner <david@tethera.net>
Thu, 7 Jan 2016 13:27:08 +0000 (09:27 +2000)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:20:48 +0000 (16:20 -0700)
54/0b4262478e132e2df17e33d05ffb352b9c5411 [new file with mode: 0644]

diff --git a/54/0b4262478e132e2df17e33d05ffb352b9c5411 b/54/0b4262478e132e2df17e33d05ffb352b9c5411
new file mode 100644 (file)
index 0000000..1f23a98
--- /dev/null
@@ -0,0 +1,64 @@
+Return-Path: <david@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 5F7EB6DE100C\r
+ for <notmuch@notmuchmail.org>; Thu,  7 Jan 2016 05:27:14 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.31\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.31 tagged_above=-999 required=5 tests=[AWL=0.241, \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 ig5OQs20955J for <notmuch@notmuchmail.org>;\r
+ Thu,  7 Jan 2016 05:27:12 -0800 (PST)\r
+Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 7C91B6DE0C81\r
+ for <notmuch@notmuchmail.org>; Thu,  7 Jan 2016 05:27:12 -0800 (PST)\r
+Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1aHAaj-0004IM-D7; Thu, 07 Jan 2016 08:27:01 -0500\r
+Received: (nullmailer pid 16063 invoked by uid 1000);\r
+ Thu, 07 Jan 2016 13:27:08 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: "W. Trevor King" <wking@tremily.us>, notmuch@notmuchmail.org\r
+Cc: Tomi Ollila <tomi.ollila@iki.fi>, Jani Nikula <jani@nikula.org>,\r
+ Carl Worth <cworth@cworth.org>, "W. Trevor King" <wking@tremily.us>\r
+Subject: Re: [PATCH 1/5] nmbug-status: Avoid hard-coded filename in error\r
+ message\r
+In-Reply-To:\r
+ <ed234b4fca39d9a471ee50f845233f025dc1163e.1451714099.git.wking@tremily.us>\r
+References: <cover.1451714099.git.wking@tremily.us>\r
+ <ed234b4fca39d9a471ee50f845233f025dc1163e.1451714099.git.wking@tremily.us>\r
+User-Agent: Notmuch/0.21+26~g9404723 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Thu, 07 Jan 2016 09:27:08 -0400\r
+Message-ID: <87h9ip8qqb.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\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: Thu, 07 Jan 2016 13:27:14 -0000\r
+\r
+"W. Trevor King" <wking@tremily.us> writes:\r
+\r
+> We already have a 'filename' variable with the name, so stay DRY and\r
+> use that variable here.\r
+>\r
+> Also fix a missing-whitespace error from bed8b674 (nmbug-status:\r
+> Clarify errors for illegible configs, 2014-05-10), wrapping on the\r
+> sentence to match similar error-generation earlier in this function.\r
+\r
+pushed this one patch\r