What is the process by which Mozilla threads mail? A brief summary of
the algorithm would be nice?

Here is my best guess:
Look for messages with the same Subject: line ignoring Re:s.
Use the number of nested reply marks > > to determine the depth of
nesting in the thread
If there are no reply marks put it as a second level message hanging off
the earliest message. 
If the number of nested reply marks indicates a depth greater than what
can be achieved with the messages at hand, make it as high as is
possible with what you've got.

Seems to me that it is very hard to get the threading in mail correct
without message IDs and References a la News. We get a close
approximation... Would it be possible to improve on it with some string
matching? What do you think? The idea would be to see whether this new
message is in a seperate branch of the thread, (etc)? It'd be
non-trivial, but when it comes to following mailing lists, good
threading would be a boon. Threading is one of the primary reasons I
want Mozilla over anything else for mail.  

Regards
Jeremy

Reply via email to