Re: [PATCH 1/2] Add Google Inc. to AUTHORS as a contributor.
[notmuch-archives.git] / 4c / 7878435972fbdd9b7eadbd8d10f2ec7747959f
1 Return-Path: <bremner@unb.ca>\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 5B84E429E21\r
6         for <notmuch@notmuchmail.org>; Mon,  3 Oct 2011 18:11:05 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.3\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\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 1mRBjvDxpIP2 for <notmuch@notmuchmail.org>;\r
16         Mon,  3 Oct 2011 18:11:04 -0700 (PDT)\r
17 Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21])\r
18         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id AAB61431FB6\r
21         for <notmuch@notmuchmail.org>; Mon,  3 Oct 2011 18:11:04 -0700 (PDT)\r
22 Received: from zancas.localnet\r
23         (fctnnbsc36w-156034064058.pppoe-dynamic.High-Speed.nb.bellaliant.net\r
24         [156.34.64.58]) (authenticated bits=0)\r
25         by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id p941AwDX015922\r
26         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO);\r
27         Mon, 3 Oct 2011 22:10:59 -0300\r
28 Received: from bremner by zancas.localnet with local (Exim 4.76)\r
29         (envelope-from <bremner@unb.ca>)\r
30         id 1RAtX8-0001wc-Gg; Mon, 03 Oct 2011 22:10:58 -0300\r
31 From: David Bremner <david@tethera.net>\r
32 To: Ali Polatel <polatel@gmail.com>, Austin Clements <amdragon@MIT.EDU>\r
33 Subject: Re: [PATCH] lib: make find_message{,by_filename) report errors\r
34 In-Reply-To: <cover.1317456435.git.alip@exherbo.org>\r
35 References: <20110930064712.GA30012@hayalet>\r
36         <cover.1317456435.git.alip@exherbo.org>\r
37 User-Agent: Notmuch/0.9~rc1 (http://notmuchmail.org) Emacs/23.3.1\r
38         (x86_64-pc-linux-gnu)\r
39 Date: Mon, 03 Oct 2011 22:10:58 -0300\r
40 Message-ID: <8739f9muhp.fsf@zancas.localnet>\r
41 MIME-Version: 1.0\r
42 Content-Type: text/plain; charset=utf-8\r
43 Content-Transfer-Encoding: quoted-printable\r
44 Cc: Notmuch Mailing List <notmuch@notmuchmail.org>\r
45 X-BeenThere: notmuch@notmuchmail.org\r
46 X-Mailman-Version: 2.1.13\r
47 Precedence: list\r
48 List-Id: "Use and development of the notmuch mail system."\r
49         <notmuch.notmuchmail.org>\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
53 List-Post: <mailto:notmuch@notmuchmail.org>\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
57 X-List-Received-Date: Tue, 04 Oct 2011 01:11:05 -0000\r
58 \r
59 On Sat,  1 Oct 2011 11:12:23 +0300, Ali Polatel <polatel@gmail.com> wrote:\r
60 > From: Ali Polatel <alip@exherbo.org>\r
61 >=20\r
62 > Looks like the patch did not make it correctly the first time.\r
63 > Resending using git-send-email=E2=84=A2\r
64 >=20\r
65 > You may also find the commit in my notmuch repository:\r
66 > git://github.com/alip/notmuch.git branch: find_message\r
67 \r
68 \r
69 Hi Ali;\r
70 \r
71 Thanks for reworking this patch. I looked at branch find_message-v2\r
72 in your repo. I have a few comments.\r
73 \r
74 - In the comments for _resolve_message_id_to_thread_id I guess thread_id\r
75   should be thread_id_ret?\r
76 \r
77 - in notmuch_database_find_message_by_file_name, I'm not sure why you\r
78   set status to NOTMUCH_STATUS_OUT_OF_MEMORY in the catch block. Is this\r
79   a typo?\r
80 \r
81 - after the DONE: label of the same routine, how is *message_ret destroyed?\r
82   does it need to wait until the talloc context "notmuch" is freed?\r
83 \r
84 - I don't really get the change of user to caller around notmuch.h:286\r
85   It is not a big deal, but I guess we should try to be consistent.\r
86 \r
87 David\r
88 \r
89 =20\r