Re: [PATCH v4 13/16] add indexopts to notmuch python bindings.
[notmuch-archives.git] / 88 / 84bb552e6a2fc72c6d5bf95fc9b983cc9e719d
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 EFB346DE0948\r
6  for <notmuch@notmuchmail.org>; Sat, 13 Jun 2015 20:56:04 -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.578\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.578 tagged_above=-999 required=5\r
12  tests=[AWL=-0.008, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,\r
13  DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25,\r
14  FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
15  RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] 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 sk0gcM1Ktz0y for <notmuch@notmuchmail.org>;\r
19  Sat, 13 Jun 2015 20:56:02 -0700 (PDT)\r
20 Received: from mail-oi0-f46.google.com (mail-oi0-f46.google.com\r
21  [209.85.218.46])\r
22  by arlo.cworth.org (Postfix) with ESMTPS id 221926DE0350\r
23  for <notmuch@notmuchmail.org>; Sat, 13 Jun 2015 20:56:02 -0700 (PDT)\r
24 Received: by oial131 with SMTP id l131so7950080oia.3\r
25  for <notmuch@notmuchmail.org>; Sat, 13 Jun 2015 20:56:01 -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:date:message-id:subject:from:to\r
28  :content-type; bh=eRNUvmX2Mn1M3eXFNjpbn6pjuQfZq0PKa3Jgiq2+YBE=;\r
29  b=NGN8crGmFg2VA9zbzH8ZKrEAeCPa3XcFQlTQJQwFMmFBUGNupwFD9MxBNRrbSEsSDx\r
30  pBjWVIJxTtUBC/UQWVFNyCCHDBTD1+V9OQeR+m17OAHTe9mmOkbsf5pM590IL5g1YWYd\r
31  mwtQ1vMVboEPPfCJHFMgopDRhTAmG8rkSMHqZEuKdLNww4uHsKRcucYmvusZlEuW2shG\r
32  uEBhCRqkg7mVgIdNu29AvDcU1TVC+B4VN2J2w4WCP/pDIBO32mnaydaag8QS/LYHYRjU\r
33  8v1VvFuO04066QA2KPolP7PXJPCuimyqllskxtKxZZd/UqdzsRh54eT81SjMemQM5ZCc\r
34  XUOA==\r
35 MIME-Version: 1.0\r
36 X-Received: by 10.202.229.66 with SMTP id c63mr4263865oih.57.1434254161161;\r
37  Sat, 13 Jun 2015 20:56:01 -0700 (PDT)\r
38 Received: by 10.182.241.167 with HTTP; Sat, 13 Jun 2015 20:56:01 -0700 (PDT)\r
39 In-Reply-To: <877fr79upd.fsf@maritornes.cs.unb.ca>\r
40 References:\r
41  <CAJhTkNhYew6H-bptACTew3gN3DLWg6agTYu8hAkdwFS=z4VFWg@mail.gmail.com>\r
42  <877fr79upd.fsf@maritornes.cs.unb.ca>\r
43 Date: Sat, 13 Jun 2015 23:56:01 -0400\r
44 Message-ID:\r
45  <CAJhTkNh4L_zRa0sjkh6vcETVxo_Hy3+ceEPuxeZP3xEG=a1Otg@mail.gmail.com>\r
46 Subject: Re: search query "replytoid:<blah>"\r
47 From: Xu Wang <xuwang762@gmail.com>\r
48 To: notmuch@notmuchmail.org\r
49 Content-Type: text/plain; charset=UTF-8\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.18\r
52 Precedence: list\r
53 List-Id: "Use and development of the notmuch mail system."\r
54  <notmuch.notmuchmail.org>\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
56  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
58 List-Post: <mailto:notmuch@notmuchmail.org>\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
61  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
62 X-List-Received-Date: Sun, 14 Jun 2015 03:56:05 -0000\r
63 \r
64 On Sat, Jun 13, 2015 at 5:14 PM, David Bremner <david@tethera.net> wrote:\r
65 > Xu Wang <xuwang762@gmail.com> writes:\r
66 >\r
67 >> Dear all,\r
68 >>\r
69 >> Is it possible to search based on which message ID a message\r
70 >> *responds* to? For example, suppose message id is MESSAGEID. I want to\r
71 >> find all emails that responded to MESSAGEID. How to enter such a query\r
72 >> into notmuch?\r
73 >\r
74 > Threads aren't exactly the concept you ask for, because the include the\r
75 > messages before the message-id in question as well. Nonetheless, maybe\r
76 > the following helps:\r
77 >\r
78 >\r
79 > % notmuch show $(notmuch search --output=threads $MESAGEID)\r
80 >\r
81 > or\r
82 >\r
83 > % notmuch search --output=messages $(notmuch search --output=threads $MESAGEID)\r
84 \r
85 Dear David and Suvayu,\r
86 \r
87 Thank you for your ideas. My goal is to do something like the following:\r
88 notmuch search tag:reply-required and not tag:replied\r
89 \r
90 which was discussed here:\r
91 http://notmuchmail.org/pipermail/notmuch/2010/002558.html\r
92 \r
93 However, instead of conditioning on tag:reply-required, I would like\r
94 to look at this for a specific message. For example, if I write an\r
95 important message, I can do the following:\r
96 save the message id, and then in 5 days set a cron script to check\r
97 whether my message was responded to. If it was not responded to I will\r
98 take some action to notify myself (haven't decided what yet).\r
99 It is the "If it was not responded to" part that this email thread is\r
100 about. I am now realizing that I cannot use mutt's tag "replied"\r
101 because I often send and read email from gmail or other IMap clients\r
102 (e.g. phone). Because of this (I believe), the reply tag does not get\r
103 set when it should (well not "should" but rather "when I want it to").\r
104 For example, I often have\r
105 \r
106 abc\r
107 ->def\r
108   -> ghi\r
109 \r
110 where the message def does not have the "replied" tag, even though it\r
111 was replied to (ghi replied to it). I think the reason is what I\r
112 suggested above.\r
113 \r
114 Because I cannot use the "replied" tag (unless I have misunderstood),\r
115 I thought I could just check using the message id with 'notmuch search\r
116 repliedto:<messageid>', but Suvayu points out that searching for this\r
117 is not supported.\r
118 \r
119 Kind regards,\r
120 \r
121 Xu\r