<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/thread-replies, branch debian/0.17-4</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.17-4</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.17-4'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2013-05-14T00:29:13Z</updated>
<entry>
<title>lib/database.cc: change how the parent of a message is calculated</title>
<updated>2013-05-14T00:29:13Z</updated>
<author>
<name>Aaron Ecay</name>
<email>aaronecay@gmail.com</email>
</author>
<published>2013-03-06T03:31:49Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=cf8aaafbad6815ebdfcd9b3b36cfe3ca5ff2764b'/>
<id>urn:sha1:cf8aaafbad6815ebdfcd9b3b36cfe3ca5ff2764b</id>
<content type='text'>
Presently, the code which finds the parent of a message as it is being
added to the database assumes that the first Message-ID-like substring
of the In-Reply-To header is the parent Message ID.  Some mail clients,
however, put stuff other than the Message-ID of the parent in the
In-Reply-To header, such as the email address of the sender of the
parent.  This can fool notmuch.

The updated algorithm prefers the last Message ID in the References
header.  The References header lists messages oldest-first, so the last
Message ID is the parent (RFC2822, p. 24).  The References header is
also less likely to be in a non-standard
syntax (http://cr.yp.to/immhf/thread.html,
http://www.jwz.org/doc/threading.html).  In case the References header
is not to be found, fall back to the old behavior.

V2 of this patch, incorporating feedback from Jani and (indirectly)
Austin.
</content>
</entry>
<entry>
<title>test: add tests for the handling of References and In-Reply-To headers</title>
<updated>2013-05-14T00:27:01Z</updated>
<author>
<name>Aaron Ecay</name>
<email>aaronecay@gmail.com</email>
</author>
<published>2013-03-06T03:31:48Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=983d5e1df2b227b8dfbc71984c828b925f4025f7'/>
<id>urn:sha1:983d5e1df2b227b8dfbc71984c828b925f4025f7</id>
<content type='text'>
These tests are known_broken, the following commit fixes them.

amended per

	id:87txmi1zq3.fsf@nikula.org
	id:87vc6yalo7.fsf@zancas.localnet
</content>
</entry>
</feed>
