unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Xu Wang <xuwang762@gmail.com>
To: notmuch@notmuchmail.org
Subject: Re: search query "replytoid:<blah>"
Date: Sat, 13 Jun 2015 23:56:01 -0400	[thread overview]
Message-ID: <CAJhTkNh4L_zRa0sjkh6vcETVxo_Hy3+ceEPuxeZP3xEG=a1Otg@mail.gmail.com> (raw)
In-Reply-To: <877fr79upd.fsf@maritornes.cs.unb.ca>

On Sat, Jun 13, 2015 at 5:14 PM, David Bremner <david@tethera.net> wrote:
> Xu Wang <xuwang762@gmail.com> writes:
>
>> Dear all,
>>
>> 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?
>
> Threads aren't exactly the concept you ask for, because the include the
> messages before the message-id in question as well. Nonetheless, maybe
> the following helps:
>
>
> % notmuch show $(notmuch search --output=threads $MESAGEID)
>
> or
>
> % notmuch search --output=messages $(notmuch search --output=threads $MESAGEID)

Dear David and Suvayu,

Thank you for your ideas. My goal is to do something like the following:
notmuch search tag:reply-required and not tag:replied

which was discussed here:
http://notmuchmail.org/pipermail/notmuch/2010/002558.html

However, instead of conditioning on tag:reply-required, I would like
to look at this for a specific message. For example, if I write an
important message, I can do the following:
save the message id, and then in 5 days set a cron script to check
whether my message was responded to. If it was not responded to I will
take some action to notify myself (haven't decided what yet).
It is the "If it was not responded to" part that this email thread is
about. I am now realizing that I cannot use mutt's tag "replied"
because I often send and read email from gmail or other IMap clients
(e.g. phone). Because of this (I believe), the reply tag does not get
set when it should (well not "should" but rather "when I want it to").
For example, I often have

abc
->def
  -> ghi

where the message def does not have the "replied" tag, even though it
was replied to (ghi replied to it). I think the reason is what I
suggested above.

Because I cannot use the "replied" tag (unless I have misunderstood),
I thought I could just check using the message id with 'notmuch search
repliedto:<messageid>', but Suvayu points out that searching for this
is not supported.

Kind regards,

Xu

  reply	other threads:[~2015-06-14  3:56 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
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 [this message]
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='CAJhTkNh4L_zRa0sjkh6vcETVxo_Hy3+ceEPuxeZP3xEG=a1Otg@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).