Re: See only unread message in a thread ?
authorJames Westby <jw+debian@jameswestby.net>
Wed, 14 Apr 2010 09:04:55 +0000 (10:04 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:38 +0000 (09:36 -0800)
d7/43252dbf7d9fa8f3561e7f0218d76a1b8ad009 [new file with mode: 0644]

diff --git a/d7/43252dbf7d9fa8f3561e7f0218d76a1b8ad009 b/d7/43252dbf7d9fa8f3561e7f0218d76a1b8ad009
new file mode 100644 (file)
index 0000000..f46f3a1
--- /dev/null
@@ -0,0 +1,100 @@
+Return-Path: <james@jameswestby.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 6D82F4196F3\r
+       for <notmuch@notmuchmail.org>; Wed, 14 Apr 2010 02:05:07 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.5\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.5 tagged_above=-999 required=5\r
+       tests=[BAYES_05=-0.5] autolearn=ham\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 6EUZSB7gVMZZ for <notmuch@notmuchmail.org>;\r
+       Wed, 14 Apr 2010 02:05:05 -0700 (PDT)\r
+Received: from jameswestby.net (jameswestby.net [89.145.97.141])\r
+       by olra.theworths.org (Postfix) with ESMTP id 991F7431FC1\r
+       for <notmuch@notmuchmail.org>; Wed, 14 Apr 2010 02:05:05 -0700 (PDT)\r
+Received: from cpc4-aztw22-2-0-cust59.aztw.cable.virginmedia.com\r
+       ([94.169.116.60] helo=flash)\r
+       by jameswestby.net with esmtpa (Exim 4.69)\r
+       (envelope-from <james@jameswestby.net>)\r
+       id 1O1yWr-0000gg-O0; Wed, 14 Apr 2010 10:05:01 +0100\r
+Received: by flash (Postfix, from userid 1000)\r
+       id E07F66E54D9; Wed, 14 Apr 2010 05:04:55 -0400 (EDT)\r
+From: James Westby <jw+debian@jameswestby.net>\r
+To: Jameson Rollins <jrollins@finestructure.net>, Xavier Maillard\r
+       <xma@gnu.org>, notmuch@notmuchmail.org\r
+Subject: Re: See only unread message in a thread ?\r
+In-Reply-To: <87iq7vc4o6.fsf@servo.finestructure.net>\r
+References: <m2tyrf3sux.fsf@deb.maillard.im> <871vejt2py.fsf@jameswestby.net>\r
+       <87iq7vc4o6.fsf@servo.finestructure.net>\r
+Date: Wed, 14 Apr 2010 10:04:55 +0100\r
+Message-ID: <87zl16s8ug.fsf@jameswestby.net>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 14 Apr 2010 09:05:07 -0000\r
+\r
+On Tue, 13 Apr 2010 19:29:29 -0400, Jameson Rollins <jrollins@finestructure.net> wrote:\r
+> On Tue, 13 Apr 2010 23:19:37 +0100, James Westby <jw+debian@jameswestby.net> wrote:\r
+> > On Wed, 14 Apr 2010 00:11:50 +0200, Xavier Maillard <xma@gnu.org> wrote:\r
+> > > Say I have a thread with A-B-C. I visit the thread and read the\r
+> > > whole thread. Let's say after 'notmuch new' a post has entered\r
+> > > the thread: A-B-C-D. Is there an easy way to just have one of\r
+> > > these behaviour:\r
+> > > \r
+> > > - only show the new message (with an option to toggle display of\r
+> > >   the old messages)\r
+> > > - display the whole thread with the 3 read messages 'collapsed'\r
+> > >   and only the unread message 'expanded'\r
+> > \r
+> > This is the default behaviour in my experience.\r
+> \r
+> I agree this is the behavior I see, but there is a caveat that may be\r
+> the cause of confusion:\r
+> \r
+> > Reading a message unsets the 'unread' tag.\r
+> > \r
+> > The default search if for 'inbox' + 'unread'.\r
+> \r
+> Actually, the default search is for just "tag:inbox", which will also\r
+> display any messages in the inbox that have "tag:unread" as well.  But\r
+> remember that if you are coming from a search for "tag:inbox", when you\r
+> view a thread all the message with "tag:inbox" will be visible\r
+> (uncollapsed), whether or not they have "tag:unread" not.  Just reading\r
+> a message will not cause it to collapse when coming from a "tag:inbox"\r
+> search.  I think this might be where the confusion is coming from.  If\r
+> you want to view just the messages in your inbox that are unread, then\r
+> you need to search for "tag:inbox and tag:unread", or type 'f' in\r
+> notmuch mode to filter your inbox search with the "tag:unread" search.\r
+> Make sense?\r
+\r
+Yes, thanks for clarifying.\r
+\r
+I realise now that I lied about the behaviour that I was seeing.\r
+\r
+I use the default tag:inbox search, but archive all the mails 'a' as I\r
+read them, using other tags to keep track of things I want to come back\r
+to.\r
+\r
+That means that 'inbox' behaves the way I described 'unread' to behave\r
+for me. I see the new messages as the old ones had their 'inbox' tag\r
+removed.\r
+\r
+Thanks,\r
+\r
+James\r