Re: Hi all
[notmuch-archives.git] / 67 / 1e35d2ecbbae5f4028e537d52e99c4ba09517c
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 EB2FF6DE13AC\r
6  for <notmuch@notmuchmail.org>; Tue, 21 Apr 2015 18:35:35 -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.343\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.343 tagged_above=-999 required=5 tests=[AWL=0.343]\r
12  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 Dnu-Z4EAID6O for <notmuch@notmuchmail.org>;\r
16  Tue, 21 Apr 2015 18:35:33 -0700 (PDT)\r
17 Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net\r
18  [87.98.215.224])\r
19  by arlo.cworth.org (Postfix) with ESMTPS id 641886DE0AC2\r
20  for <notmuch@notmuchmail.org>; Tue, 21 Apr 2015 18:35:33 -0700 (PDT)\r
21 Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim\r
22  4.80) (envelope-from <david@tethera.net>)\r
23  id 1YkjXg-0007oj-Fk; Wed, 22 Apr 2015 01:33:32 +0000\r
24 Received: (nullmailer pid 14846 invoked by uid 1000); Wed, 22 Apr 2015\r
25  01:33:09 -0000\r
26 From: David Bremner <david@tethera.net>\r
27 To: Austin Clements <aclements@csail.mit.edu>, Ronny Chevalier\r
28  <chevalier.ronny@gmail.com>\r
29 Subject: Re: notmuch_thread_get_authors\r
30 In-Reply-To: <87lhhlhryd.fsf@csail.mit.edu>\r
31 References:\r
32  <CABPZE7L5yX3tJH+1vMotxL7BHYoQd2BJSbzFuKTAxHgC5+6RHA@mail.gmail.com>\r
33  <87618qfk5l.fsf@maritornes.cs.unb.ca>\r
34  <CABPZE7JGzfSMWKpxKqJeCbpsDhX4xj_HoNoKFL8MbYv9xYpQ7w@mail.gmail.com>\r
35  <87lhhlhryd.fsf@csail.mit.edu>\r
36 User-Agent: Notmuch/0.19+96~g703c8f9 (http://notmuchmail.org) Emacs/24.4.1\r
37  (x86_64-pc-linux-gnu)\r
38 Date: Wed, 22 Apr 2015 10:33:09 +0900\r
39 Message-ID: <874mo9ne0a.fsf@maritornes.cs.unb.ca>\r
40 MIME-Version: 1.0\r
41 Content-Type: text/plain\r
42 Cc: notmuch@notmuchmail.org\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.18\r
45 Precedence: list\r
46 List-Id: "Use and development of the notmuch mail system."\r
47  <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Wed, 22 Apr 2015 01:35:36 -0000\r
56 \r
57 Austin Clements <aclements@csail.mit.edu> writes:\r
58 \r
59 > You're completely right that there's no way to reliably parse the\r
60 > authors list returned by notmuch_thread_get_authors. So don't do\r
61 > that. Just use notmuch_thread_get_messages, walk the messages list, and\r
62 > build your own authors list. There's no need to introduce additional\r
63 > complexity and surface area into the library API for this specific use\r
64 > case (IMO, even notmuch_thread_get_authors shouldn't exist, but it's\r
65 > there for legacy reasons.)\r
66 \r
67 Ah, so when my DEPRECATED macros get merge, we should deprecate that\r
68 function maybe.\r
69 \r
70 d\r