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 E88D1431FBC for ; Sat, 21 Nov 2009 18:18:35 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org 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 ABqfQiGNTmtd for ; Sat, 21 Nov 2009 18:18:35 -0800 (PST) Received: from tau.jukie.net (tau.jukie.net [216.239.93.128]) by olra.theworths.org (Postfix) with ESMTP id 0BB1E431FAE for ; Sat, 21 Nov 2009 18:18:35 -0800 (PST) Received: by tau.jukie.net (Postfix, from userid 1000) id 5AD98C05601; Sat, 21 Nov 2009 21:18:34 -0500 (EST) Date: Sat, 21 Nov 2009 21:18:34 -0500 From: Bart Trojanowski To: notmuch@notmuchmail.org Message-ID: <20091122021833.GC17268@jukie.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.5.18 (2008-05-17) Subject: [notmuch] hijacked threads can be confusing in notmuch X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 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: Sun, 22 Nov 2009 02:18:36 -0000 I'd like to see how other people feel about a problem I just ran into. I wanted to look at the 'notmuch count' patch that Keith Packard posted a couple of days ago (as I am porting his folder mode to notmuch.vim). I was unable to find it using notmuch because he happened to post 3 patches in one go. It's pretty common git practice, and by no means to I hold Keith responsible :) In mutt it looked like this: [notmuch] [PATCH 1/3] Make mouse-1 click in search view show thread =E2=94=94=E2=94=80>[notmuch] [PATCH 2/3] Add 'notmuch count' command to s= how the count of matching messages =E2=94=94=E2=94=80>[notmuch] [PATCH 3/3] Add notmuch-index mode to disp= lay message counts =2E.. and in the mutt threaded display the relationship between the three messages is pretty clear. Now consider what happens when I run notmuch search 'notmuch count'. I get this: Today 02:15 [2/3] Keith Packard; [notmuch] [PATCH 1/3] Make mouse-1 click= in search view show thread (inbox unread) This thread happens to look completely unrelated to my search at first glance. So naturally, I dismissed it. I finally clued in what was happening and came back to it after. On a related note, one mail related pet peeve I have is when people reply to a random email in their mailbox when they actually intend to start a new thread. Doing that would totally mess up someone using notmuch. They could get search results with threads which have no relevance to their actual search... at least at first glance. So is there something better that we could do when detecting hijacked threads like this? Is it safe to cut threads when you notice a topic change? Or maybe it would be better to just mark such threads in the output of notmuch-search (either a boolean flag, or a count of topic changes). Anyone know how Gmail deals with this? Cheers, -Bart --=20 WebSig: http://www.jukie.net/~bart/sig/