unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Matt Armstrong <matt@rfc20.org>
To: notmuch@notmuchmail.org
Subject: notmuch.el question: reading all messages in thread
Date: Tue, 22 Nov 2022 09:27:06 -0800	[thread overview]
Message-ID: <87bkoyc32t.fsf@rfc20.org> (raw)

Sometimes a notmuch query matches only a subset of messages in a thread.
When this happens only that subset of messages will be "open".  Many
notmuch commands operate on the "open" messages only.  For example: SPC,
'n', 'p'.

Often this is what I want.  It works well when I'm looking for a
specific piece of information, or when I am interested in reading only
the unread messages in a long thread that I have seen previously.

Often this is not what I want.  I'm interested in seeing all messages
when I am looking for entire conversations where a topic is being
discussed.  E.g. when I want to re-read a long forgotten thread, or one
that surfaced through specific search terms that appear only in a few of
the messages in the thread.

For example, I subscribe to some lists but don't read all messages in a
timely manner, if I ever read them at all.  A search might surface
threads from those lists before I read them with my usual "tag:inbox
tag:somelist" query.  I typically find these threads with a query
"tag:inbox some other search term".

In the second case I can achieve what I want with queries like:

  thread:"{tag:inbox some other search term}"

But this is a burden to type and I often realize I want this after the
usual query has produced the search results, and then pressed 'Z' to get
a tree view, and realized that most of the messages are "closed."

I looked for a way to easily re-query a tree view buffer such that all
messages in all threads shown are "open" but did not find it.  Does this
exist?

I suppose I'm looking for the opposite of `notmuch-tree-filter'.  Maybe
`notmuch-tree-widen-to-thread' that produces a new notmuch tree widened
to the entire thread of the current message.

             reply	other threads:[~2022-11-22 17:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-22 17:27 Matt Armstrong [this message]
2022-11-22 18:29 ` notmuch.el question: reading all messages in thread Kyle Meyer

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=87bkoyc32t.fsf@rfc20.org \
    --to=matt@rfc20.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).