mhonarc-users

Re:mhonarc 2.1.0 and merging replies

1998-01-02 01:52:07
This is of interest to me as well, but because of my limited knowledge of
Unix I don't quite understand what yoiu are doing.  How exactly to you get
your code into Mhonarc?  Do you change some file and then reinstall the
program?

I apologize if this is off subject.

karlb(_at_)bfc9002(_dot_)atg(_dot_)com wrote:
~
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;
!                     }
              }
          }
      }


Paul Braunbehrens mailto:Bakalite(_at_)bakalite(_dot_)com
http://www.daw-mac.com Mailing list for digital audio on the mac


<Prev in Thread] Current Thread [Next in Thread>