unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Rafael Avila de Espindola <rafael.espindola@gmail.com>
To: notmuch@notmuchmail.org
Subject: Re: [emacs] thread view is showing all messages
Date: Sun, 20 Nov 2016 18:06:20 -0500	[thread overview]
Message-ID: <87h971sqdv.fsf@localhost.localdomain.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <87oa1aas6b.fsf@localhost.localdomain.i-did-not-set--mail-host-address--so-tickle-me>

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

      parent reply	other threads:[~2016-11-20 23:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-20 19:05 [emacs] thread view is showing all messages Rafael Avila de Espindola
2016-11-20 23:05 ` David Bremner
2016-11-21  7:56   ` Mark Walters
2016-11-21 11:02     ` David Bremner
2016-11-20 23:06 ` Rafael Avila de Espindola [this message]

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=87h971sqdv.fsf@localhost.localdomain.i-did-not-set--mail-host-address--so-tickle-me \
    --to=rafael.espindola@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).