From: David Bremner <david@tethera.net>
To: Xu Wang <xuwang762@gmail.com>
Cc: notmuch@notmuchmail.org
Subject: Re: Possible some threads are not complete due to bug?
Date: Sun, 04 Oct 2015 07:57:25 -0300 [thread overview]
Message-ID: <87oage9a0a.fsf@zancas.localnet> (raw)
In-Reply-To: <CAJhTkNhp=mMPsD7hkGKW4eY9WWOuS2pf=x4sDiLnx9ref9JTew@mail.gmail.com>
Xu Wang <xuwang762@gmail.com> writes:
>
> $ notmuch search --output=threads "id:MYMSGID"
> thread:000000000000a125
> $ notmuch search --output=messages "thread:000000000000a125"
> id:MYMSGID
> $
> # I know that MYMSGIDREPLY did respond to that message. I have it in
> my mutt mailbox and it shows the down-right arrow signifying this. I
> inspect the headers and there is indeed a header in MYMSGIDREPLY that
> says "In-Reply-To: <MYMSGID>". I then do...
> $ notmuch search --output=threads "id:MYMSGIDREPLY"
> thread:000000000000c125
> $ notmuch search --output=messages "thread:000000000000c125"
> id:MYMSGIDREPLY
> $
If the thread-id's are accurate, then it looks like the two messages are
not in the same thread according to notmuch (it's easy to be fooled
because the thread-ids are so similar). I can't really explain how
those messages might have ended up in different threads.
- One potential issue is that if message ids are extra long or badly
formed, then notmuch might make up a new message id. In that case your
thread-id search wouldn't work at all.
- If there are actually multiple (unrelated) files with message-id
MYMSGIDREPLY, then the indexed one might not have the in-reply-to
header. But in this case you could tell by
notmuch show id:MYMSGIDREPLY
and/or
notmuch search --output=files id:MSGIDREPLY
In order for the thread-ids to change when you run "notmuch new", I
_think_ that there has to be a third message in the thread disovered.
So it's a mystery. If it happens again with public messages, it would be
worth sharing the messages (as attachements) with the list, just in case
there is something in the headers that explains it.
next prev parent reply other threads:[~2015-10-04 10:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-13 4:03 Possible some threads are not complete due to bug? Xu Wang
2015-09-13 6:19 ` Suvayu Ali
2015-09-13 15:10 ` Xu Wang
2015-09-19 15:45 ` [PATCH] test: add sanity tests for threading David Bremner
2015-11-23 12:54 ` David Bremner
2015-09-19 16:02 ` Possible some threads are not complete due to bug? David Bremner
2015-09-20 14:33 ` Xu Wang
2015-09-23 22:44 ` David Bremner
2015-09-24 0:55 ` Xu Wang
2015-10-04 10:57 ` David Bremner [this message]
2015-10-05 3:52 ` Xu Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87oage9a0a.fsf@zancas.localnet \
--to=david@tethera.net \
--cc=notmuch@notmuchmail.org \
--cc=xuwang762@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).