Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • yeah, this is one failing of the "traditional" threading algorithm as described by JWZ at http://www.jwz.org/doc/threading.html [jwz.org] .

    what I did in 'mhthread' (despite what the POD says ;) is the following, from a comment:

    > Sort by the date of the earliest message with that subject line. However:
    > if messages share a subject line, but don't refer to each other using IRT
    > or Refs headers, and were posted far enough apart (greater than 24 hours),
    > then don't thread them consecutively; allow other threads to appear between
    > them. This ensures that a recent post to a *really* old thread doesn't
    > appear 500 messages back "in ancient history".

    This works really nicely, in my experience, although I should probably shorten that "really far apart" distance to something like 12 hours instead of 24.

    I should really CPANify that algorithm someday.
    • Yeah, but that still means a new message to an older thread goes higher up the screen.

      I wanted Mail.app's design - all new messages go to the to bottom of the screen, attached to their thread.
      • oh I see what you mean; the entire thread is moved to match the newest message's location. hmm, I may have to hack that.