unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Jameson Rollins <jrollins@finestructure.net>
To: James Westby <jw+debian@jameswestby.net>,
	Xavier Maillard <xma@gnu.org>,
	notmuch@notmuchmail.org
Subject: Re: See only unread message in a thread ?
Date: Tue, 13 Apr 2010 19:29:29 -0400	[thread overview]
Message-ID: <87iq7vc4o6.fsf@servo.finestructure.net> (raw)
In-Reply-To: <871vejt2py.fsf@jameswestby.net>

[-- Attachment #1: Type: text/plain, Size: 1590 bytes --]

On Tue, 13 Apr 2010 23:19:37 +0100, James Westby <jw+debian@jameswestby.net> wrote:
> On Wed, 14 Apr 2010 00:11:50 +0200, Xavier Maillard <xma@gnu.org> wrote:
> > Say I have a thread with A-B-C. I visit the thread and read the
> > whole thread. Let's say after 'notmuch new' a post has entered
> > the thread: A-B-C-D. Is there an easy way to just have one of
> > these behaviour:
> > 
> > - only show the new message (with an option to toggle display of
> >   the old messages)
> > - display the whole thread with the 3 read messages 'collapsed'
> >   and only the unread message 'expanded'
> 
> This is the default behaviour in my experience.

I agree this is the behavior I see, but there is a caveat that may be
the cause of confusion:

> Reading a message unsets the 'unread' tag.
> 
> The default search if for 'inbox' + 'unread'.

Actually, the default search is for just "tag:inbox", which will also
display any messages in the inbox that have "tag:unread" as well.  But
remember that if you are coming from a search for "tag:inbox", when you
view a thread all the message with "tag:inbox" will be visible
(uncollapsed), whether or not they have "tag:unread" not.  Just reading
a message will not cause it to collapse when coming from a "tag:inbox"
search.  I think this might be where the confusion is coming from.  If
you want to view just the messages in your inbox that are unread, then
you need to search for "tag:inbox and tag:unread", or type 'f' in
notmuch mode to filter your inbox search with the "tag:unread" search.
Make sense?

jamie.

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

  parent reply	other threads:[~2010-04-13 23:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-13 22:11 See only unread message in a thread ? Xavier Maillard
2010-04-13 22:19 ` James Westby
2010-04-13 22:43   ` Xavier Maillard
2010-04-14  9:08     ` James Westby
2010-04-13 23:29   ` Jameson Rollins [this message]
2010-04-14  9:04     ` James Westby

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=87iq7vc4o6.fsf@servo.finestructure.net \
    --to=jrollins@finestructure.net \
    --cc=jw+debian@jameswestby.net \
    --cc=notmuch@notmuchmail.org \
    --cc=xma@gnu.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).