bug: wrong order of messages in notmuch-show

David Bremner david at tethera.net
Sun Jul 1 17:23:08 PDT 2018


Gregor Zattler <telegraph at gmx.net> 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 at 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 <david at tethera.net> (Yest. 15:42) (inbox new unread)
>       Subject: Re: 'notmuch search thread:<>' lists multiple threads
>       Naveen N. Rao <naveen.n.rao at linux.vnet.ibm.com> (April 06) (inbox new unread)
>        Naveen N. Rao <naveen.n.rao at linux.vnet.ibm.com> (April 06) (inbox new unread)
>        David Bremner <david at tethera.net> (April 08) (inbox new unread)
>         David Bremner <david at tethera.net> (April 09) (inbox new unread)
>          David Bremner <david at tethera.net> (April 10) (inbox new unread)
>          Subject: [PATCH] devel: add new tool to draw thread structure
>          Naveen N. Rao <naveen.n.rao at linux.vnet.ibm.com> (April 18) (inbox new unread)
>          Subject: Re: 'notmuch search thread:<>' lists multiple threads
>           David Bremner <david at tethera.net> (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 at 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.


More information about the notmuch mailing list