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 159ED4196F3 for ; Sat, 8 May 2010 05:36:55 -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 JNv11TZa2hMA for ; Sat, 8 May 2010 05:36:45 -0700 (PDT) Received: from samir.ibcsolutions.de (samir.ibcsolutions.de [78.47.90.66]) by olra.theworths.org (Postfix) with ESMTP id DBB7A431FC1 for ; Sat, 8 May 2010 05:36:44 -0700 (PDT) Received: from e179163197.adsl.alicedsl.de ([85.179.163.197] helo=barf) by samir.ibcsolutions.de with esmtpa (Exim 4.69) (envelope-from ) id 1OAjDt-0003o6-Ow for notmuch@notmuchmail.org; Sat, 08 May 2010 14:33:37 +0200 From: Arvid Picciani To: notmuch@notmuchmail.org Subject: Fix missing References from broken muas. Date: Sat, 08 May 2010 14:36:26 +0200 Message-ID: <87pr16efjp.fsf@exys.org> 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: Sat, 08 May 2010 12:36:55 -0000 Most of my mail comes from the 50MLs i'm subscribed to. Unfortunately some MUAs suck that much, they don't even respond in threads. My idea how to fix them would be: $ notmuch search subject:Foo and from douche@brokenwebmua.com thread:00000000000003ff [..] douche@brokenwebmua.com,me Foo thread:00000000000003cb [..] douche@brokenwebmua.com,me Re:Foo thread:00000000000003cd [..] douche@brokenwebmua.com,me Re:Foo thread:00000000000003c7 [..] douche@brokenwebmua.com,me Re:Foo $ notmuch thread-align subject:Foo and from:douche@brokenwebmua.com aligned 4 threads $ notmuch search subject:Foo and from douche@brokenwebmua.com thread:00000000000003dd [..] Foo That of course makes the optimistic assumption, that the douche in question did actually change the subject when he changed the topic, and has the date: field set properly. At least in my case that's true. Thoughts?