Re: [emacs] thread view is showing all messages

Subject: Re: [emacs] thread view is showing all messages

Date: Sun, 20 Nov 2016 18:06:20 -0500

To: notmuch@notmuchmail.org

Cc:

From: Rafael Avila de Espindola


Rafael Avila de Espindola <rafael.espindola@gmail.com> writes:

> The documentation says that:
>
> --------------------------------------
> By default, various components of email messages, (citations,
> signatures, already-read messages),  are hidden.
> --------------------------------------
>
> Unfortunately that is not what I am experiencing with notmuch 0.23.1.
> Any time I open a thread I see all the messages in it. I can hide each
> one with <RET>, but that is fairly inconvenient.

I found it. The problem is in

    ;; Message visibility depends on whether it matched the search
    ;; criteria.
    (notmuch-show-message-visible msg (and (plist-get msg :match)
					   (not (plist-get msg :excluded))))))

I was doing searches like "to:<list address>", so every email would
match. Changing the search to "to:<list address> and tag:unread" gives
the desired behavior.

Cheers,
Rafael

Thread: