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 34FC46DE0243
\r
6 for <notmuch@notmuchmail.org>; Tue, 5 Apr 2016 16:34:10 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-0.02 tagged_above=-999 required=5 tests=[AWL=-0.009,
\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 aAbfycJJAmQu for <notmuch@notmuchmail.org>;
\r
16 Tue, 5 Apr 2016 16:34:02 -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 DD0FC6DE01F7
\r
19 for <notmuch@notmuchmail.org>; Tue, 5 Apr 2016 16:34:01 -0700 (PDT)
\r
20 Received: from remotemail by fethera.tethera.net with local (Exim 4.84)
\r
21 (envelope-from <david@tethera.net>)
\r
22 id 1anaUR-0003pI-4J; Tue, 05 Apr 2016 19:34:31 -0400
\r
23 Received: (nullmailer pid 9428 invoked by uid 1000);
\r
24 Tue, 05 Apr 2016 23:33:55 -0000
\r
25 From: David Bremner <david@tethera.net>
\r
26 To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>,
\r
27 Tomi Ollila <tomi.ollila@iki.fi>, Notmuch Mail <notmuch@notmuchmail.org>
\r
28 Subject: Re: [PATCH v2 3/7] fix thread breakage via ghost-on-removal
\r
29 In-Reply-To: <874mbfvn2l.fsf@alice.fifthhorseman.net>
\r
30 References: <1459445693-3900-1-git-send-email-dkg@fifthhorseman.net>
\r
31 <1459606541-23889-1-git-send-email-dkg@fifthhorseman.net>
\r
32 <1459606541-23889-3-git-send-email-dkg@fifthhorseman.net>
\r
33 <m2lh4sczrl.fsf@guru.guru-group.fi> <874mbfvn2l.fsf@alice.fifthhorseman.net>
\r
34 User-Agent: Notmuch/0.21+74~g6c60fb1 (http://notmuchmail.org) Emacs/24.5.1
\r
35 (x86_64-pc-linux-gnu)
\r
36 Date: Tue, 05 Apr 2016 20:33:55 -0300
\r
37 Message-ID: <8760vvhbq4.fsf@zancas.localnet>
\r
39 Content-Type: text/plain
\r
40 X-BeenThere: notmuch@notmuchmail.org
\r
41 X-Mailman-Version: 2.1.20
\r
43 List-Id: "Use and development of the notmuch mail system."
\r
44 <notmuch.notmuchmail.org>
\r
45 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,
\r
46 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
48 List-Post: <mailto:notmuch@notmuchmail.org>
\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
50 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,
\r
51 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
52 X-List-Received-Date: Tue, 05 Apr 2016 23:34:10 -0000
\r
54 Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:
\r
57 >> Outside of this patch, but in some of the next messages, adds functions
\r
58 >> _notmuch_message_has_term() and _notmuch_message_has_term_st(). Perhaps
\r
59 >> the _notmuch_message_has_term() could be left unimplemented?
\r
61 > yeah, i can do that, though i have to say it's programmatically
\r
62 > convenient to have a simple boolean test that defaults to some value if
\r
63 > there was an error.
\r
65 Maybe this is obvious, but we rely heavily in the notmuch code base on
\r
66 NOTMUCH_STATUS_SUCCESS==0, so the following idiom is pretty common,
\r
68 status = notmuch_status_returning_thing (... &out);
\r
73 /* otherwise, deal with out */
\r