notmuch show: Implement proper thread ordering/nesting of messages.
authorCarl Worth <cworth@cworth.org>
Mon, 16 Nov 2009 04:39:25 +0000 (20:39 -0800)
committerCarl Worth <cworth@cworth.org>
Mon, 16 Nov 2009 04:41:45 +0000 (20:41 -0800)
commit933caf814fcbbb7420d03ef42bb37bea6dd90449
treea96e78c60ee4c94cdd92a092746dadd594c89b15
parent819f964d9a8cf5c92c5d13e8d1f1ac908f159a8c
notmuch show: Implement proper thread ordering/nesting of messages.

We now properly analyze the in-reply-to headers to create a proper
tree representing the actual thread and present the messages in this
correct thread order. Also, there's a new "depth:" value added to the
"message{" header so that clients can format the thread as desired,
(such as by indenting replies).
lib/message.cc
lib/notmuch-private.h
lib/notmuch.h
lib/thread.cc
notmuch-show.c