From: Xu Wang <xuwang762@gmail.com>
To: notmuch@notmuchmail.org
Subject: Re: search query "replytoid:<blah>"
Date: Sun, 14 Jun 2015 14:32:09 -0400 [thread overview]
Message-ID: <CAJhTkNgDxySBgW1CjLg5WHkLnFaGx+0dUWE+k6HeoPjQid8WKw@mail.gmail.com> (raw)
In-Reply-To: <20150614082258.GD17381@chitra.no-ip.org>
On Sun, Jun 14, 2015 at 4:22 AM, Suvayu Ali <fatkasuvayu+linux@gmail.com> wrote:
> On Sat, Jun 13, 2015 at 10:55:52PM +0200, Suvayu Ali wrote:
>> On Sat, Jun 13, 2015 at 02:47:00PM -0400, Xu Wang wrote:
>> >
>> > Is it possible to search based on which message ID a message
>> > *responds* to? For example, suppose message id is MESSAGEID. I want to
>> > find all emails that responded to MESSAGEID. How to enter such a query
>> > into notmuch?
>>
>> AFAIK, this is not possible. Notmuch does not allow searching special
>> headers. You could probably write a script using the threads output
>> format to get the thread, and then use formail to find the responses.
>
> Try the attached script. It accepts notmuch queries by message id.
> E.g. to get the responses to your OP, you can do:
>
> $ ./nm-ack id:CAJhTkNhYew6H-bptACTew3gN3DLWg6agTYu8hAkdwFS=z4VFWg@mail.gmail.com
> id:877fr79upd.fsf@maritornes.cs.unb.ca id:20150613205552.GC17381@chitra.no-ip.org
>
> The first one is David's response, the second one is mine.
>
> Hope this helps,
>
> --
> Suvayu
These are exactly what I was looking for! I tried Suvayu's script with
success, and although I did not try the script referenced by David's
email, the goal is exactly my goal and thus it seems it should do as I
would like as well.
Thank you so very much to you for persisting in helping me, even
despite the lack of clarity in my messages. I highly appreciate you
and your time.
Happy regards,
Xu
next prev parent reply other threads:[~2015-06-14 18:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-13 18:47 search query "replytoid:<blah>" Xu Wang
2015-06-13 20:55 ` Suvayu Ali
2015-06-14 8:22 ` Suvayu Ali
2015-06-14 18:32 ` Xu Wang [this message]
2015-06-14 22:30 ` Gregor Zattler
2015-06-14 23:49 ` Suvayu Ali
2015-06-13 21:14 ` David Bremner
2015-06-14 3:56 ` Xu Wang
2015-06-14 5:43 ` David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJhTkNgDxySBgW1CjLg5WHkLnFaGx+0dUWE+k6HeoPjQid8WKw@mail.gmail.com \
--to=xuwang762@gmail.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).