]> git.notmuchmail.org Git - notmuch/commit
Reorder displayed names of thread authors
authorDirk Hohndel <hohndel@infradead.org>
Sat, 24 Apr 2010 18:20:54 +0000 (11:20 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 26 Apr 2010 18:45:00 +0000 (11:45 -0700)
commit26d8d960ee91b55e8e4c446e08e3fc371a0acd4a
treeec54d455a73ce31be3ee151a106bb902596e5dbf
parent57561414d76297c16b4b6f3da570f14b4ddf020c
Reorder displayed names of thread authors

When displaying threads as result of a search it makes sense to list those
authors first who match the search. The matching authors are separated from the
non-matching ones with a '|' instead of a ','

Imagine the default "+inbox" query. Those mails in the thread that
match the query are actually "new" (whatever that means). And some
people seem to think that it would be much better to see those author
names first. For example, imagine a long and drawn out thread that once
was started by me; you have long read the older part of the thread and
removed the inbox tag. Whenever a new email comes in on this thread,
prior to this patch the author column in the search display will first show
"Dirk Hohndel" - I think it should first show the actual author(s) of the new
mail(s).

Signed-off-by: Dirk Hohndel <hohndel@infradead.org>
lib/thread.cc