unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [emacs] thread view is showing all messages
@ 2016-11-20 19:05 Rafael Avila de Espindola
  2016-11-20 23:05 ` David Bremner
  2016-11-20 23:06 ` Rafael Avila de Espindola
  0 siblings, 2 replies; 5+ messages in thread
From: Rafael Avila de Espindola @ 2016-11-20 19:05 UTC (permalink / raw)
  To: notmuch


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.

Cheers,
Rafael

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [emacs] thread view is showing all messages
  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-20 23:06 ` Rafael Avila de Espindola
  1 sibling, 1 reply; 5+ messages in thread
From: David Bremner @ 2016-11-20 23:05 UTC (permalink / raw)
  To: Rafael Avila de Espindola, notmuch

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.
>

All of the matching messages are open. So one option is to change your
search (e.g. adding tag:unread)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [emacs] thread view is showing all messages
  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-20 23:06 ` Rafael Avila de Espindola
  1 sibling, 0 replies; 5+ messages in thread
From: Rafael Avila de Espindola @ 2016-11-20 23:06 UTC (permalink / raw)
  To: notmuch

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [emacs] thread view is showing all messages
  2016-11-20 23:05 ` David Bremner
@ 2016-11-21  7:56   ` Mark Walters
  2016-11-21 11:02     ` David Bremner
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Walters @ 2016-11-21  7:56 UTC (permalink / raw)
  To: David Bremner, Rafael Avila de Espindola, notmuch


Hi

>> --------------------------------------
>> By default, various components of email messages, (citations,
>> signatures, already-read messages),  are hidden.
>> --------------------------------------

I wonder if this text should be changed -- I am not sure what is meant
by already-read messages (maybe completely cited messages?) but it does
seem misleading. Having said that, I don't have a good suggestion -- the
best I can come up with is "quoted messages"

Interestingly the wording above dates back to 2009 so maybe it isn't
that big a problem.

Best wishes

Mark

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [emacs] thread view is showing all messages
  2016-11-21  7:56   ` Mark Walters
@ 2016-11-21 11:02     ` David Bremner
  0 siblings, 0 replies; 5+ messages in thread
From: David Bremner @ 2016-11-21 11:02 UTC (permalink / raw)
  To: Mark Walters, notmuch

Mark Walters <markwalters1009@gmail.com> writes:

> Hi
>
>>> --------------------------------------
>>> By default, various components of email messages, (citations,
>>> signatures, already-read messages),  are hidden.
>>> --------------------------------------
>
> I wonder if this text should be changed -- I am not sure what is meant
> by already-read messages (maybe completely cited messages?) but it does
> seem misleading. Having said that, I don't have a good suggestion -- the
> best I can come up with is "quoted messages"
>
> Interestingly the wording above dates back to 2009 so maybe it isn't
> that big a problem.

I'd guess quoted messages also.

But this discussion mainly seemed to me like something where having an
actual manual (and installing it) would help. Doc strings are not really
ideal for getting started.

d

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-11-21 11:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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).