I wanted to put all followups to a message in a single ordered list,
instead of splitting apart the ones from References: et al. and the ones
from Subject:.
This required the following change to mhonarc, which I thought I'd pass
back to get merged into the distribution if desired. I didn't bother
making the behavior a resource or anything, sorry.
Thanks for the great software.
karlb(_at_)atg(_dot_)com
*** /usr/local/src/MHonArc2.1/mhonarc Wed Jun 4 20:05:40 1997
--- mhonarc Thu Dec 25 07:43:36 1997
***************
*** 1559,1564 ****
--- 1561,1567 ----
unless $FirstSub2Index{$tmp} ||
grep($MsgId{$_}, split(/$X/o, $Refs{$index}));
}
+ $merge_replies = 1;
## Compute thread data
TCOMP: foreach $index (@ThreadList) {
***************
*** 1589,1598 ****
$HasRef{$index} = $refindex;
$HasRefDepth{$index} = 0;
! if ($SReplies{$refindex}) {
! $SReplies{$refindex} .= $bs . $index;
} else {
! $SReplies{$refindex} = $index;
}
}
}
--- 1592,1609 ----
$HasRef{$index} = $refindex;
$HasRefDepth{$index} = 0;
! if ($merge_replies) {
! if ($Replies{$refindex}) {
! $Replies{$refindex} .= $bs . $index;
! } else {
! $Replies{$refindex} = $index;
! }
} else {
! if ($SReplies{$refindex}) {
! $SReplies{$refindex} .= $bs . $index;
! } else {
! $SReplies{$refindex} = $index;
! }
}
}
}