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 olra.theworths.org (Postfix) with ESMTP id 12E64431FB6
\r
6 for <notmuch@notmuchmail.org>; Tue, 8 Jul 2014 16:24:32 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id 6eSQfleYeS4i for <notmuch@notmuchmail.org>;
\r
16 Tue, 8 Jul 2014 16:24:28 -0700 (PDT)
\r
17 Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])
\r
18 (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 73365431FAF
\r
21 for <notmuch@notmuchmail.org>; Tue, 8 Jul 2014 16:24:28 -0700 (PDT)
\r
22 Received: from remotemail by yantan.tethera.net with local (Exim 4.80)
\r
23 (envelope-from <david@tethera.net>)
\r
24 id 1X4ekK-0005UX-1Z; Tue, 08 Jul 2014 20:24:24 -0300
\r
25 Received: (nullmailer pid 23713 invoked by uid 1000); Tue, 08 Jul 2014
\r
27 From: David Bremner <david@tethera.net>
\r
28 To: Peter Wang <novalazy@gmail.com>
\r
29 Subject: Re: [PATCH v2 06/10] cli: refactor insert
\r
30 In-Reply-To: <20140706135728.GE1142@hili.localdomain>
\r
31 References: <1397653165-15620-1-git-send-email-novalazy@gmail.com>
\r
32 <1397653165-15620-7-git-send-email-novalazy@gmail.com>
\r
33 <87simgq702.fsf@maritornes.cs.unb.ca>
\r
34 <20140706135728.GE1142@hili.localdomain>
\r
35 User-Agent: Notmuch/0.18.1+22~gbf82697 (http://notmuchmail.org) Emacs/24.3.1
\r
36 (x86_64-pc-linux-gnu)
\r
37 Date: Tue, 08 Jul 2014 20:24:20 -0300
\r
38 Message-ID: <87a98jwi1n.fsf@maritornes.cs.unb.ca>
\r
40 Content-Type: text/plain
\r
41 Cc: notmuch@notmuchmail.org
\r
42 X-BeenThere: notmuch@notmuchmail.org
\r
43 X-Mailman-Version: 2.1.13
\r
45 List-Id: "Use and development of the notmuch mail system."
\r
46 <notmuch.notmuchmail.org>
\r
47 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
50 List-Post: <mailto:notmuch@notmuchmail.org>
\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
52 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
53 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
54 X-List-Received-Date: Tue, 08 Jul 2014 23:24:32 -0000
\r
56 Peter Wang <novalazy@gmail.com> writes:
\r
58 >> Is there a good reason to use TRUE and FALSE for return values rather
\r
59 >> than EXIT_SUCCESS and EXIT_FAILURE? It seems like the latter would be
\r
60 >> overall slightly simpler in notmuch_insert_command.
\r
62 > Not sure what you have in mind. I think CLI exit codes should be
\r
63 > confined to notmuch_insert_command.
\r
65 I guess I was thinking of the convention of using 0 for success; several
\r
66 of the internal functions in e.g. notmuch-new.c, notmuch-dump.c an d
\r
67 notmuch-restore.c and notmuch-tag.c (and of course the notmuch lib)
\r