Re: [PATCH] lib: provide _notmuch_database_log_append
[notmuch-archives.git] / 44 / 9fe182d29e5947d4c9f0a7b40d3c6487313775
1 Return-Path: <david@tethera.net>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5  by arlo.cworth.org (Postfix) with ESMTP id 4DE666DE02A6\r
6  for <notmuch@notmuchmail.org>; Mon,  8 Aug 2016 17:49:58 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.008\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.008 tagged_above=-999 required=5 tests=[AWL=0.003,\r
12   SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled\r
13 Received: from arlo.cworth.org ([127.0.0.1])\r
14  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
15  with ESMTP id zgy1RMxxPllk for <notmuch@notmuchmail.org>;\r
16  Mon,  8 Aug 2016 17:49:50 -0700 (PDT)\r
17 Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
18  by arlo.cworth.org (Postfix) with ESMTPS id 2D5E36DE02CC\r
19  for <notmuch@notmuchmail.org>; Mon,  8 Aug 2016 17:49:36 -0700 (PDT)\r
20 Received: from remotemail by fethera.tethera.net with local (Exim 4.84_2)\r
21  (envelope-from <david@tethera.net>)\r
22  id 1bWvEs-0007Qh-A3; Mon, 08 Aug 2016 20:49:50 -0400\r
23 Received: (nullmailer pid 24048 invoked by uid 1000);\r
24  Tue, 09 Aug 2016 00:49:32 -0000\r
25 From: David Bremner <david@tethera.net>\r
26 To: notmuch@notmuchmail.org\r
27 Subject: Re: [PATCH] lib: provide _notmuch_database_log_append\r
28 In-Reply-To: <1468578341-7705-1-git-send-email-david@tethera.net>\r
29 References: <1468578341-7705-1-git-send-email-david@tethera.net>\r
30 User-Agent: Notmuch/0.22.1+61~g2ce0f13 (https://notmuchmail.org) Emacs/24.5.1\r
31  (x86_64-pc-linux-gnu)\r
32 Date: Tue, 09 Aug 2016 09:49:32 +0900\r
33 Message-ID: <87popiu5pf.fsf@maritornes.cs.unb.ca>\r
34 MIME-Version: 1.0\r
35 Content-Type: text/plain\r
36 X-BeenThere: notmuch@notmuchmail.org\r
37 X-Mailman-Version: 2.1.20\r
38 Precedence: list\r
39 List-Id: "Use and development of the notmuch mail system."\r
40  <notmuch.notmuchmail.org>\r
41 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
42  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
44 List-Post: <mailto:notmuch@notmuchmail.org>\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
46 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
47  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
48 X-List-Received-Date: Tue, 09 Aug 2016 00:49:58 -0000\r
49 \r
50 David Bremner <david@tethera.net> writes:\r
51 \r
52 > _notmuch_database_log clears the log buffer each time. Rather than\r
53 > introducing more complicated semantics about for this function, provide\r
54 > a second function that does not clear the buffer. This is mainly a\r
55 > convenience function for callers constructing complex or multi-line log\r
56 > messages.\r
57 \r
58 pushed\r
59 \r
60 d\r