Re: notmuch search for threads vs matched messages

Subject: Re: notmuch search for threads vs matched messages

Date: Wed, 03 May 2023 16:27:12 +1000

To: Al Haji-Ali


From: NeilBrown

On Wed, 03 May 2023, Al Haji-Ali wrote:
> When I search for emails (in the CLI or Emacs), for example all those with the inbox tag, I get a list of threads with the names of all senders in the thread and all tags that are in the thread rather than in the matched messages.
> I find this unhelpful since it hides the important information. For example, in an email thread with many tags/senders, I would want to know at a glance in the notmuch-search buffer who sent the matched message and what are its tags rather than all old senders and tags that could have little to do with the matched message. This is especially awkward in Emacs when `notmuch-show-only-matching-messages` is set to t. 
> I suppose there is no current easy way to only return the information about matched messages. 
> Do you think such a feature is worth implementing? Would there be something fundamentally difficult about implementing it?  

I would find this helpful too.
If there is a message in the thread which does not have tag:inbox but
does have tag:unread, then the whole thread gets the tag:unread flag,
which isn't appropriate if all matching don't have tak:unread.

Unfortunately I have no idea about implementing - I just wanted to
encourage anyone who did that it would be valuable.

notmuch mailing list --
To unsubscribe send an email to