[PATCH v2] Name thread based on matching msgs instead of first msg.

Carl Worth cworth at cworth.org
Wed Apr 21 15:59:57 PDT 2010


On Sat, 17 Apr 2010 13:59:22 -0400, Jesse Rosenthal <jrosenthal at jhu.edu> wrote:
> At the moment all threads are named based on the name of the first message
> in the thread. However, this can cause problems if people either start
> new threads by replying-all (as unfortunately, many out there do) or
> change the subject of their mails to reflect a shift in a thread on a
> list.

Thanks, Jesse. This is a nice new feature.

I've pushed this out now, followed up with several changes:

  * Simplify the assignment of the correct subject
  * Add test cases
  * Fix the feature to actually pass the tests

I know that my simplified version was broken (the tests showed
that). I'm not sure if the original version would have passed the tests
or not. But at least things seem to be working now.

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100421/81e705d7/attachment.pgp>


More information about the notmuch mailing list