Re: [PATCH] lib: provide _notmuch_database_log_append
authorDavid Bremner <david@tethera.net>
Tue, 9 Aug 2016 00:49:32 +0000 (09:49 +0900)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:22:21 +0000 (16:22 -0700)
44/9fe182d29e5947d4c9f0a7b40d3c6487313775 [new file with mode: 0644]

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