From: "Tim Culverhouse" <tim@timculverhouse.com>
To: "Lars Kotthoff" <lists@larsko.org>, <notmuch@notmuchmail.org>
Subject: Re: Query by how many messages are in thread?
Date: Sat, 12 Aug 2023 15:00:44 -0500 [thread overview]
Message-ID: <CUQU0OEW3418.X3KPUKBPD0XM@spunky> (raw)
In-Reply-To: <169186241515.1374.9358163915320675037.kukulkan@sakura>
On Sat Aug 12, 2023 at 1:28 PM CDT, Lars Kotthoff wrote:
> Hi all,
>
> I was wondering whether there's a way to query threads that have a certain
> number of messages, in addition to matching the rest of the query. I'm trying
> to find threads where I have sent an email (easy enough by just matching
> "from") but where I haven't gotten a reply yet (i.e. there's only one message
> in the thread), so that I know to follow up. If you can think of another way
> of doing this, that would be great as well!
Hi Lars -
Try this:
`notmuch search "<your-query>" | grep "\[1/1]"`
--
Tim
next prev parent reply other threads:[~2023-08-12 20:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-12 17:46 Query by how many messages are in thread? Lars Kotthoff
2023-08-12 20:00 ` Tim Culverhouse [this message]
2023-08-12 23:48 ` 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=CUQU0OEW3418.X3KPUKBPD0XM@spunky \
--to=tim@timculverhouse.com \
--cc=lists@larsko.org \
--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).