Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 875CD4196F2 for ; Tue, 13 Apr 2010 16:29:43 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -4.19 X-Spam-Level: X-Spam-Status: No, score=-4.19 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 39a9m4fMrEhK for ; Tue, 13 Apr 2010 16:29:42 -0700 (PDT) Received: from brinza.cc.columbia.edu (brinza.cc.columbia.edu [128.59.29.8]) by olra.theworths.org (Postfix) with ESMTP id 9A188431FC1 for ; Tue, 13 Apr 2010 16:29:42 -0700 (PDT) Received: from servo.finestructure.net (geco.phys.columbia.edu [128.59.170.159]) (user=jgr2110 author=jrollins@finestructure.net mech=PLAIN bits=0) by brinza.cc.columbia.edu (8.14.3/8.14.3) with ESMTP id o3DNTcg3016062 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Tue, 13 Apr 2010 19:29:38 -0400 (EDT) Received: from jrollins by servo.finestructure.net with local (Exim 4.71) (envelope-from ) id 1O1pY2-0007eJ-2W; Tue, 13 Apr 2010 19:29:38 -0400 From: Jameson Rollins To: James Westby , Xavier Maillard , notmuch@notmuchmail.org Subject: Re: See only unread message in a thread ? In-Reply-To: <871vejt2py.fsf@jameswestby.net> References: <871vejt2py.fsf@jameswestby.net> Date: Tue, 13 Apr 2010 19:29:29 -0400 Message-ID: <87iq7vc4o6.fsf@servo.finestructure.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-No-Spam-Score: Local X-Scanned-By: MIMEDefang 2.68 on 128.59.29.8 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2010 23:29:43 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Tue, 13 Apr 2010 23:19:37 +0100, James Westby wrote: > On Wed, 14 Apr 2010 00:11:50 +0200, Xavier Maillard 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: > >=20 > > - 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' >=20 > 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. >=20 > 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. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCAAGBQJLxP5ZAAoJEO00zqvie6q85gkP/jB3oFOymtnkhP9N2HRo+SQX wVjeg+1tsLaJrjwtAjFjGQqy34YTjoTvbpucNWZRe11fMoa+hItFFLLg0A85pMRM 2e6AOYACtvg450Epj8pxpou5CrqMdyu5/NQ3+EGmJdS8Nc9mTVpqqpAW7usCvQ7x 3q6r21Chqc7e6Ms4cGgrmu64f9Tkg7QfwGHHgCDxtq1IqE09Z1gcZzDMMh3peD3g tU0eNIFg7I8W7gJeUf4eYFoSwcnHncKoZN/aVTPjybADFS4w7jDcYZ53AwF7W2oO vPvIwyyLcMrFUlGdvMSx/7qpfjDFqhaiX9p8YgSTiEjJYtg/QQVxWPZoaaIWqJHr dMYZOsoZiGVCLcMmA0Tkv0ygzfvzOHanA10U3pEU5xTkGMqA2Hn9rPpQGIYbG/JA qJE+uJlIZgRjg0PTDn+BAULKZml/jXzQm78AbtW9+PeAlHzFtb92sdadbe0yxXJz sCChh+WWhUjTsarHPowheq0OMuH3AdQ1gU2654hlPaeXRnMPMncr3G6iN6FmsZ4F AIDtEuvYFsSDdE1aHh4GSuPX41zotynge7c197bq+ZIUZbYTjsj/O5DyXtK30mi+ yjt/LQJva9xKTzrNUCWosxV0Ci1ZAtrim2OCxERwncSmyOTEAc30UG0CH78ibdmE nh7H4JoxhKAkWVwQayOp =8doh -----END PGP SIGNATURE----- --=-=-=--