diff options
| author | fukachan <fukachan> | 2001-11-07 09:28:27 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2001-11-07 09:28:27 +0000 |
| commit | d989935c565c2c398fe20be6852e140d32f02a42 (patch) | |
| tree | 2afd1efb7a4077b777d0d0f83f0c09c9f8b589a8 /fml/lib/Mail/ThreadTrack | |
| parent | 0a56ca30d82d7da17dd9f472b3b8f1a97b86894c (diff) | |
| download | fml8-d989935c565c2c398fe20be6852e140d32f02a42.tar.gz fml8-d989935c565c2c398fe20be6852e140d32f02a42.tar.bz2 fml8-d989935c565c2c398fe20be6852e140d32f02a42.zip | |
enable fmlthread options:
--article_id_max=\d+ to override /var/spool/ml/$ml/seq
--reverse to reverse time order in showing "review"
Diffstat (limited to 'fml/lib/Mail/ThreadTrack')
| -rw-r--r-- | fml/lib/Mail/ThreadTrack/Print.pm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/fml/lib/Mail/ThreadTrack/Print.pm b/fml/lib/Mail/ThreadTrack/Print.pm index b0bc1dd7..272a8470 100644 --- a/fml/lib/Mail/ThreadTrack/Print.pm +++ b/fml/lib/Mail/ThreadTrack/Print.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: Print.pm,v 1.6 2001/11/05 14:35:47 fukachan Exp $ +# $FML: Print.pm,v 1.7 2001/11/07 04:07:23 fukachan Exp $ # package Mail::ThreadTrack::Print; @@ -79,6 +79,9 @@ sub review use Mail::Message::MH; my $ra = Mail::Message::MH->expand($str, $min, $max); my $first = 0; + + if (defined $config->{ reverse_order }) { @$ra = reverse @$ra;} + for my $id (@$ra) { if ($id =~ /^\d+$/) { my $tid = $self->_create_thread_id_strings($id); @@ -332,6 +335,9 @@ sub _valid_buf elsif ($str =~ /\w+\@\w+/) { # mail address ? return 0; } + elsif ($str =~ /^\S+\>/) { # quotation ? + return 0; + } return 1; } |
