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