Thanks David for the script and the instruction. I am still not sure where notmuch is getting the association between my 5 messages in the thread.
The attached pdf is the output of the script. As you can see the draft "[email protected]" which contains the header ,---- | From: Al Haji-Ali <[email protected]> | To: [email protected], [email protected], Eli Zaretskii <[email protected]> | Subject: bug#53632: Function definition history | In-Reply-To: <[email protected]> | Message-ID: <[email protected]> | Date: Sat, 22 Apr 2023 12:34:54 +0100 | X-Notmuch-Emacs-Draft: True | MIME-Version: 1.0 | Content-Type: text/plain `---- is completely unconnected the other 4 messages in the thread. Note that if I change the "In-Reply-To" field in this message to anything else, notmuch no longer groups these 5 messages into a single thread. I tried searching for "[email protected]" using `xapian-delve` but got ,---- | term '[email protected]' not in database `---- Finally, I tried grepping for the same ID in my notmuch folder (with all mails and database) and got two hits (actually three including this message which I am currently writing): ,---- | ./Drafts/cur/1682165661.M337064P23717.m2air.local,U=151:2,DS:In-Reply-To: <[email protected]> | Binary file ./.notmuch/xapian/postlist.glass matches `---- The first one is the draft. The second hit is the reason I thought the only place left for notmuch to associate these messages is in the xapian database. Note that if I delete the draft and reindex, only the postlist.glass hit stubbornly remains and there seems to be no way to make notmuch forget about this ID. I am running notmuch 0.37 and xapian 1.4.21 if that's relevant. -- Al
thread2.pdf
Description: Adobe PDF document
_______________________________________________ notmuch mailing list -- [email protected] To unsubscribe send an email to [email protected]
