Correcting message references

Subject: Correcting message references

Date: Fri, 21 Apr 2023 16:11:31 +0100

To: notmuch@notmuchmail.org

Cc:

From: Al Haji-Ali


I am running into an issue where I created a draft (let call it "D") as a reply to a message (let's call it "A") that I don't have in my database by setting "In-Reply-To" in the draft to "A".
I accidentally left over a "References" field which contains the ID of another message ("B"). This grouped the new draft "D" with the message "B" when viewing search results. I saved the draft and ran `notmuch new` before realizing my mistake.

I changed the message, removed "B" from "References" and deleted the files of all old (and intermediate) drafts that have "B" in "References".  But no matter what I do, I have "B" grouped with "D" and any other messages which I create with "In-Reply-To" being "A".

I suspect that somewhere in the database the IDs of "A" and "B" are linked now. Is there a way (short of deleting the database and re-indexing) to correct this and remove this connection?

Thanks,
-- Al
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: