mhonarc-users

Re: Case sensitivity and subject threading?

2000-06-14 12:52:29
On May 15, 2000 at 22:03, Gerry Hickman wrote:

I get quite a few repeat subjects and this causes problems with
threading, but it's rare to have a repeat subject with _exact_ case. Is
it possible to set a flag to intruduce case sensitivity for threading?
Of course I don't want "re: " and "RE: " included.

I believe a resource could be added.  Until then, try the following
patch to mhthread.pl (SCCS ID: @(#) mhthread.pl 2.6 99/06/25 14:18:25)
to disable the case insensitive feature.

*** mhthread.pl.org     Wed Jun 14 10:12:13 2000
--- mhthread.pl Wed Jun 14 10:12:28 2000
***************
*** 219,225 ****
      ##        Find first occurrances of subjects
      if (!$NoSubjectThreads) {
        foreach $index (@ThreadList) {
!           $tmp = lc $Subject{$index};
            1 while (($tmp =~ s/^$SubReplyRxp//io) ||
                     ($tmp =~ s/\s*-\s*re(ply|sponse)\s*$//io));
  
--- 219,225 ----
      ##        Find first occurrances of subjects
      if (!$NoSubjectThreads) {
        foreach $index (@ThreadList) {
!           $tmp = $Subject{$index};
            1 while (($tmp =~ s/^$SubReplyRxp//io) ||
                     ($tmp =~ s/\s*-\s*re(ply|sponse)\s*$//io));
  
<Prev in Thread] Current Thread [Next in Thread>