Re: [PATCH v4 13/16] add indexopts to notmuch python bindings.
[notmuch-archives.git] / 38 / af6e91e962272e3bedf00179fd7d15e6768280
1 Return-Path: <chevalier.ronny@gmail.com>\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 6B3F06DE0AC2\r
6  for <notmuch@notmuchmail.org>; Mon, 20 Apr 2015 09:04:15 -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.259\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.259 tagged_above=-999 required=5\r
12  tests=[AWL=-0.541, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,\r
13  DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7,\r
14  RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001,\r
15  TRACKER_ID=1.102] autolearn=disabled\r
16 Received: from arlo.cworth.org ([127.0.0.1])\r
17  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
18  with ESMTP id 8rX0IGBP_O5Y for <notmuch@notmuchmail.org>;\r
19  Mon, 20 Apr 2015 09:04:13 -0700 (PDT)\r
20 Received: from mail-oi0-f53.google.com (mail-oi0-f53.google.com\r
21  [209.85.218.53])\r
22  by arlo.cworth.org (Postfix) with ESMTPS id 54F186DE0AB8\r
23  for <notmuch@notmuchmail.org>; Mon, 20 Apr 2015 09:04:13 -0700 (PDT)\r
24 Received: by oign205 with SMTP id n205so129034472oig.2\r
25  for <notmuch@notmuchmail.org>; Mon, 20 Apr 2015 09:04:12 -0700 (PDT)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27  h=mime-version:date:message-id:subject:from:to:content-type;\r
28  bh=qWQNvArYvMFpzHYi8aeKQizsbApdqofzG42bhWkP1mU=;\r
29  b=WqioHlpwxEP/aCMK1ebsVG7y7umUhx/fAMBEYMkv4MjtvaiWaMWTd1+sSgPLBmC2nB\r
30  sShJJPjcGknBm9C77cPfonyurQMWMHPg/GQQRLwRVoy7aO85tFs2K5s+2hNBHPBeHvA3\r
31  Jvu8uvIRl09NPr0cUTJeMAEoFP0ICnBsp/SM6ScQaufkkH+Cr5uCDyPmOBUpGhWrNsgT\r
32  uB9IqrtzHYHYPTGqXiA5GokWpkXL1VKLVfGDxUQjiRWP7aYsbQD2lUCidZM/Lx5Zwc69\r
33  ggq3GzoQEU9FO0K/dz2ZzpVY61GJ/C0xrRnuaG70QEAMwTi927waY1zlyp7885ZvmBdC\r
34  E7jw==\r
35 MIME-Version: 1.0\r
36 X-Received: by 10.182.137.136 with SMTP id qi8mr14519861obb.51.1429545852325; \r
37  Mon, 20 Apr 2015 09:04:12 -0700 (PDT)\r
38 Received: by 10.202.216.5 with HTTP; Mon, 20 Apr 2015 09:04:12 -0700 (PDT)\r
39 Date: Mon, 20 Apr 2015 18:04:12 +0200\r
40 Message-ID:\r
41  <CABPZE7L5yX3tJH+1vMotxL7BHYoQd2BJSbzFuKTAxHgC5+6RHA@mail.gmail.com>\r
42 Subject: notmuch_thread_get_authors\r
43 From: Ronny Chevalier <chevalier.ronny@gmail.com>\r
44 To: notmuch@notmuchmail.org\r
45 Content-Type: text/plain; charset=UTF-8\r
46 X-BeenThere: notmuch@notmuchmail.org\r
47 X-Mailman-Version: 2.1.18\r
48 Precedence: list\r
49 List-Id: "Use and development of the notmuch mail system."\r
50  <notmuch.notmuchmail.org>\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
52  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
54 List-Post: <mailto:notmuch@notmuchmail.org>\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
57  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
58 X-List-Received-Date: Mon, 20 Apr 2015 16:04:15 -0000\r
59 \r
60 Hi,\r
61 \r
62 I would like to know the reason behind the way we get authors from a\r
63 thread, with notmuch_thread_get_authors.\r
64 \r
65 Getting a string formatted as it is right now make it impossible to\r
66 parse properly the authors. If there is an author with | or , in its\r
67 name (or email address if there is no name), there is no way to\r
68 distinguish between another author in the list comma separated or an\r
69 author with a comma, and the same with |.\r
70 \r
71 A function like notmuch_thread_get_authors_arrays(notmuch_thread_t\r
72 *thread, char ***authors_matched, char ***authors_not_mached) with\r
73 authors_matched and authors_not_mached being string arrays\r
74 NULL-terminated could deal with this issue.\r
75 \r
76 What do you think? or maybe I am missing something?\r
77 \r
78 Ronny\r