[PATCH] introduce new.rename_tags for renamed (moved) messages

2018-07-08 Thread Michael J Gruber
IMAP clients (such as webmail) use folders to mark messages as junk etc., some even to mark messages as trash ("move to trash"). Such a change is reported by notmuch as a rename; the message is not tagged with new.tags since it is not new, so that there is no way to act upon a rename. Introduce

[PATCH 1/2] test: start threading test corpus

2018-07-08 Thread David Bremner
These are not really broken, but one of the messages is in reply to a non-existent message. This currently causes the wrong message to be chosen as root --- test/corpora/threading/ghost-root/child | 9 + test/corpora/threading/ghost-root/fake-root | 9 +

[PATCH 2/2] test: add known broken test for "ghost roots"

2018-07-08 Thread David Bremner
This documents the bug discussed at id:87efgmmysi.fsf@len.workgroup I believe the underlying issue is that the reply to a ghost-message is falsely classified as a root message in _resolve_thread_relationships. --- test/T260-thread-order.sh | 10 ++ 1 file changed, 10 insertions(+)

[no subject]

2018-07-08 Thread David Bremner
Thanks to Gregor for the test data. I can now duplicate the problem with a regression test using (small) synthetic data. ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch

Re: Bug: fatal error with notmuch new, second run starts indexing all over again

2018-07-08 Thread Gregor Zattler
Hi David, Leonard, * David Bremner [2018-07-07; 23:07]: > Gregor Zattler writes: >> * Leonard Lausen [2018-07-01; 15:36]: >>> Also it seems that the midsize corpus >>> https://giku.de/reduced-sample-midsized.xapian-exeption.tar.xz is not >>> available anymore. >> >> I still have this archive on