From 42859c1200027adf410eb1c338a85ee9a770b3bb Mon Sep 17 00:00:00 2001 From: David Bremner Date: Tue, 9 Aug 2016 09:49:32 +0900 Subject: [PATCH] Re: [PATCH] lib: provide _notmuch_database_log_append --- 44/9fe182d29e5947d4c9f0a7b40d3c6487313775 | 60 +++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 44/9fe182d29e5947d4c9f0a7b40d3c6487313775 diff --git a/44/9fe182d29e5947d4c9f0a7b40d3c6487313775 b/44/9fe182d29e5947d4c9f0a7b40d3c6487313775 new file mode 100644 index 000000000..2244a3623 --- /dev/null +++ b/44/9fe182d29e5947d4c9f0a7b40d3c6487313775 @@ -0,0 +1,60 @@ +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 4DE666DE02A6 + for ; Mon, 8 Aug 2016 17:49:58 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.008 +X-Spam-Level: +X-Spam-Status: No, score=-0.008 tagged_above=-999 required=5 tests=[AWL=0.003, + 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 zgy1RMxxPllk for ; + Mon, 8 Aug 2016 17:49:50 -0700 (PDT) +Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) + by arlo.cworth.org (Postfix) with ESMTPS id 2D5E36DE02CC + for ; Mon, 8 Aug 2016 17:49:36 -0700 (PDT) +Received: from remotemail by fethera.tethera.net with local (Exim 4.84_2) + (envelope-from ) + id 1bWvEs-0007Qh-A3; Mon, 08 Aug 2016 20:49:50 -0400 +Received: (nullmailer pid 24048 invoked by uid 1000); + Tue, 09 Aug 2016 00:49:32 -0000 +From: David Bremner +To: notmuch@notmuchmail.org +Subject: Re: [PATCH] lib: provide _notmuch_database_log_append +In-Reply-To: <1468578341-7705-1-git-send-email-david@tethera.net> +References: <1468578341-7705-1-git-send-email-david@tethera.net> +User-Agent: Notmuch/0.22.1+61~g2ce0f13 (https://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Tue, 09 Aug 2016 09:49:32 +0900 +Message-ID: <87popiu5pf.fsf@maritornes.cs.unb.ca> +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: Tue, 09 Aug 2016 00:49:58 -0000 + +David Bremner writes: + +> _notmuch_database_log clears the log buffer each time. Rather than +> introducing more complicated semantics about for this function, provide +> a second function that does not clear the buffer. This is mainly a +> convenience function for callers constructing complex or multi-line log +> messages. + +pushed + +d -- 2.26.2