[PATCH 6/8] CLI: refactor dumping of tags.
[notmuch-archives.git] / 91 / 9cd44ff9494de32eb7a0f43d04ad273ad26b77
1 Return-Path: <xuwang762@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 6E4626DE00F5\r
6  for <notmuch@notmuchmail.org>; Sun,  3 Jul 2016 11:26:11 -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.503\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.503 tagged_above=-999 required=5 tests=[AWL=0.067,\r
12   DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13  FREEMAIL_ENVFROM_END_DIGIT=0.25, 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  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 Xm_WAVWigNKF for <notmuch@notmuchmail.org>;\r
19  Sun,  3 Jul 2016 11:26:02 -0700 (PDT)\r
20 Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com\r
21  [209.85.218.50])\r
22  by arlo.cworth.org (Postfix) with ESMTPS id 94EDC6DE0032\r
23  for <notmuch@notmuchmail.org>; Sun,  3 Jul 2016 11:26:02 -0700 (PDT)\r
24 Received: by mail-oi0-f50.google.com with SMTP id f189so171166434oig.3\r
25  for <notmuch@notmuchmail.org>; Sun, 03 Jul 2016 11:26:02 -0700 (PDT)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27  h=mime-version:in-reply-to:references:from:date:message-id:subject:to\r
28  :cc; bh=Ul5dgKqV7gEOGO3x7xE7BiTZOQWfENgM76Gfi1ha4PU=;\r
29  b=mJSouROrVq1GAl7iXZOwCFLE9EHNDXMNy6cqpACfXl9ol9ptLl43PWUKR40w+WSWHe\r
30  o2rJaIWjETLyV+XsOcdHe9H45Od2/+/7+gdrLXy39mEKt0nqAFC1LTcfkERSLPY7hVNO\r
31  WNxWil4u1ea4Y4NeUBhLZdy+WBt5AyibWA8WpChozTSD6B/kbHsyUY1Vhw2IZbGgj53F\r
32  eTB+Of+j5E0hsNLH1ZEtpLpsz9KLy0SlIz+Ox0vQ8gHubU/RSvy1znAlQeXgnYG8OdDz\r
33  uPNcHbQK5xh/7IQ4sm+S6K2W8rMNd7dPA9imsVQgT8dkjmKLLh1O26fl9cxgcLW+nr+t\r
34  kM3Q==\r
35 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
36  d=1e100.net; s=20130820;\r
37  h=x-gm-message-state:mime-version:in-reply-to:references:from:date\r
38  :message-id:subject:to:cc;\r
39  bh=Ul5dgKqV7gEOGO3x7xE7BiTZOQWfENgM76Gfi1ha4PU=;\r
40  b=iOfjnOzPVkBbwBx+VcmG/q+2QCcr0z4HPEJsn8lRMYZlDECrQr0sMK0HSpvqA+3c8Y\r
41  dpLv6IivX0EnLGGRF/a1PRiKtqrKs3+ecbOjj8dm1a1C0TgtcjBe0Kmq7lTT+rvmT2VL\r
42  kGvswpgVcFx/C3TAHRd5BvZo/IO/TOh5Bq6Kzee7yGUr47FcloePklnP2hdnRo3fq2eG\r
43  LGv01OqaSgPotMuNm0fY46SR8LOxgE4ZEGD8A3fFkWKjVjwVzVJ1utHu0RobYU47s0sl\r
44  R55I+I9jgQTBnVw6F2VJ8+yIA9kHWx8gQFCib7VKuhSL180UG1MXOzn7t3MFRTwU7JzA\r
45  N/BA==\r
46 X-Gm-Message-State: ALyK8tLO3kQGG8FNPrd/Hk7T0AYzj4Vgrew7fbmDZ4pWbg63pRF455KWL+yMgSTfMbZDeimD7sAa3V73CBZdIw==\r
47 X-Received: by 10.202.4.204 with SMTP id 195mr5082761oie.173.1467570359499;\r
48  Sun, 03 Jul 2016 11:25:59 -0700 (PDT)\r
49 MIME-Version: 1.0\r
50 Received: by 10.202.212.67 with HTTP; Sun, 3 Jul 2016 11:25:59 -0700 (PDT)\r
51 In-Reply-To: <87inwmyhoi.fsf@alice.fifthhorseman.net>\r
52 References:\r
53  <CAJhTkNiWvED4+7kAEWxWOD2PLyskG27vTfSbmZhJFUJcoBqXag@mail.gmail.com>\r
54  <87inwmyhoi.fsf@alice.fifthhorseman.net>\r
55 From: Xu Wang <xuwang762@gmail.com>\r
56 Date: Sun, 3 Jul 2016 14:25:59 -0400\r
57 Message-ID:\r
58  <CAJhTkNiGnwDGrshUwBBp2g8ZxXVjNrJMOsfeWru-hUXvzJaYiA@mail.gmail.com>\r
59 Subject: Re: ask notmuch to find back "reply-to's"\r
60 To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>\r
61 Cc: notmuch@notmuchmail.org\r
62 Content-Type: text/plain; charset=UTF-8\r
63 X-BeenThere: notmuch@notmuchmail.org\r
64 X-Mailman-Version: 2.1.20\r
65 Precedence: list\r
66 List-Id: "Use and development of the notmuch mail system."\r
67  <notmuch.notmuchmail.org>\r
68 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
69  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
70 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
71 List-Post: <mailto:notmuch@notmuchmail.org>\r
72 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
73 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
74  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
75 X-List-Received-Date: Sun, 03 Jul 2016 18:26:11 -0000\r
76 \r
77 On Sun, Jul 3, 2016 at 9:28 AM, Daniel Kahn Gillmor\r
78 <dkg@fifthhorseman.net> wrote:\r
79 > On Sat 2016-07-02 20:28:41 -0400, Xu Wang wrote:\r
80 >> Hello all,\r
81 >>\r
82 >> I have a situation where sometimes I sync a later message. For\r
83 >> example, the following happens on times:\r
84 >>\r
85 >> 1a. sync message 1.\r
86 >> 1b. not much new\r
87 >> 2a. sync message 3 (which replied to message 2)\r
88 >> 2b. not much new\r
89 >> 3. sync message 2 (which replied to message 1)\r
90 >> 3b. not much new\r
91 >>\r
92 >> This happens because of my workflow of offlineimap. It takes a long\r
93 >> time to sync some folders so often I prefer to skip, but sometimes\r
94 >> they contain replies.\r
95 >\r
96 > on most systems, assuming standard headers, notmuch should indeed\r
97 > assemble these into the same thread.\r
98 >\r
99 > the relevant headers are In-Reply-To and References.\r
100 >\r
101 > Can you show those headers for this example?  If they have these message-IDs:\r
102 >\r
103 >  message 1: XXX\r
104 >  message 2: YYY\r
105 >  message 3: ZZZ\r
106 >\r
107 > then i'd expect the following headers:\r
108 >\r
109 >  message 1:\r
110 >    Message-Id: XXX\r
111 >     <no In-Reply-To or References>\r
112 >  message 2:\r
113 >    Message-Id: YYY\r
114 >    In-Reply-To: XXX\r
115 >    References: XXX\r
116 >  message 3:\r
117 >    Message-Id: ZZZ\r
118 >    In-Reply-To: YYY\r
119 >    References: XXX, YYY\r
120 >\r
121 >\r
122 > If notmuch has indexed them all, they should all be part of the same\r
123 > thread.\r
124 \r
125 Ah good to know! I will keep eye out for this issue to pop up. I don't\r
126 have it now since I performed a clean notmuch new to build database.\r
127 \r
128 Thank you for detailed response!!\r
129 \r
130 Kind regards,\r
131 \r
132 Xu\r
133 \r
134 >\r
135 >         --dkg\r