From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id D57D66DE0240 for ; Sun, 1 Jul 2018 17:23:14 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[AWL=0.010, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MRMLjS5Qbl6u for ; Sun, 1 Jul 2018 17:23:13 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 7B73A6DE023D for ; Sun, 1 Jul 2018 17:23:13 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1fZmcX-0001xX-Ll; Sun, 01 Jul 2018 20:23:09 -0400 Received: (nullmailer pid 11827 invoked by uid 1000); Mon, 02 Jul 2018 00:23:08 -0000 From: David Bremner To: Gregor Zattler , notmuch@notmuchmail.org Subject: Re: bug: wrong order of messages in notmuch-show In-Reply-To: <87efgmmysi.fsf@len.workgroup> References: <87efgmmysi.fsf@len.workgroup> Date: Sun, 01 Jul 2018 21:23:08 -0300 Message-ID: <871scmscyb.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.26 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: Mon, 02 Jul 2018 00:23:14 -0000 Gregor Zattler writes: > Dear notmuch developers, > > notmuch sometimes shows emails of one thread in wrong order. Now > I found an example in a public mailing list so it is possible to > share this example. It is a small thread from the notmuch > mailing list, you might find it by searching for id:87zhzccrwg.fsf@tethera.net > > While this email is the last written and sent in this thread it > is shown as first email in the notmuch show output, as shown in > this "screenshot" of the corresponding notmuch-emacs buffer: > > File Edit Options Buffers Tools Help > 'notmuch search thread:<>' lists multiple threads > --> David Bremner (Yest. 15:42) (inbox new unread) > Subject: Re: 'notmuch search thread:<>' lists multiple threads > Naveen N. Rao (April 06) (inbox new unread) > Naveen N. Rao (April 06) (inbox new unread) > David Bremner (April 08) (inbox new unread) > David Bremner (April 09) (inbox new unread) > David Bremner (April 10) (inbox new unread) > Subject: [PATCH] devel: add new tool to draw thread structure > Naveen N. Rao (April 18) (inbox new unread) > Subject: Re: 'notmuch search thread:<>' lists multiple threads > David Bremner (April 22) (inbox new unread) > Hi Gregor; The thread is not ordered that way here. Can you run the "draw-thread" tool in id:20180410014539.24717-1-david@tethera.net and send the output (either dot or PDF) as an attachement to the list? > > This happens often to me with emails from a ticket system which I > cannot disclose. In this kind of technical threads order is > necessary to understand current status of affairs. Unfortunately ticket systems seem to be among the worse offenders for generating nonsense headers. > I did a test with notmuch 0.27+7~gfd3c936 and .notmuch-config > pointing to a test maildir with this 8 messages as they arrived > at my email account. I saved a tar archive of this in case this > is important to debug the problem. > Yes, I'll probably need the tar file to reproduce it. If it's small (<50k), send it to the list, otherwise let me know how I can pick it up.