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 C66034196F2 for ; Tue, 13 Apr 2010 15:19:52 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.8 X-Spam-Level: X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8] 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 kmQ8y+CKhdS2 for ; Tue, 13 Apr 2010 15:19:52 -0700 (PDT) Received: from jameswestby.net (jameswestby.net [89.145.97.141]) by olra.theworths.org (Postfix) with ESMTP id 0846F431FC1 for ; Tue, 13 Apr 2010 15:19:52 -0700 (PDT) Received: from cpc4-aztw22-2-0-cust59.aztw.cable.virginmedia.com ([94.169.116.60] helo=flash) by jameswestby.net with esmtpa (Exim 4.69) (envelope-from ) id 1O1oSN-00083P-EW; Tue, 13 Apr 2010 23:19:43 +0100 Received: by flash (Postfix, from userid 1000) id C10226E54D9; Tue, 13 Apr 2010 18:19:37 -0400 (EDT) From: James Westby To: Xavier Maillard , notmuch@notmuchmail.org Subject: Re: See only unread message in a thread ? In-Reply-To: References: Date: Tue, 13 Apr 2010 23:19:37 +0100 Message-ID: <871vejt2py.fsf@jameswestby.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 22:19:52 -0000 On Wed, 14 Apr 2010 00:11:50 +0200, Xavier Maillard wrote: > Hi, > > maybe I missread the "manual" but I can't find an easy way to do > something simple in notmuch.el. > > 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. Reading a message unsets the 'unread' tag. The default search if for 'inbox' + 'unread'. This lists the threads where any message within matches that criterion. When viewing a thread from there the messages that don't match are collapsed. Therefore if you are remove the 'unread' tag when reading mail you will only read the newest messages when 'notmuch new' adds a new message to the thread if the search that took you there included the 'unread' tag. Thanks, James