On 5/22/14 6:48 PM, "Karsten Bräckelmann" <guent...@rudersport.de> wrote:
>On Thu, 2014-05-22 at 18:34 -0500, David B Funk wrote: >> After doing some experimenting with that code I came up with something >>that >> I'd argue is more semantically correct: >> >> # if we've got a long series of blank lines, limit them >> if (defined $start) { >> my $max_blank_lines = 20; >> my $num = $start-$cnt; >> if ($num > $max_blank_lines) { >> splice @message, $cnt+2, $num-$max_blank_lines; >> } >> undef $start; >> } >> >> IE limit a message to no more than "$max_blank_lines" in a row, not the >>total >> collapse of more than 11. (adjust $max_blank_lines as you see fit or >>make it >> a configurable parameter). > >+1 > >Can you file a bug report or raise the topic in dev@ list? The code >change is sufficiently simple, but I want that issue discussed first. >Wonder what's the reason for that collapsing in the first place. Did any decision on this get reached? I'm tired enough of that particular flavor of spam that I'm considering making David's modifications locally to Message.pm -- but obviously I'd prefer to leave the core modules unmolested if there's an "official" fix in the works. -- Dave Pooser Cat-Herder-in-Chief, Pooserville.com "...Life is not a journey to the grave with the intention of arriving safely in one pretty and well-preserved piece, but to slide across the finish line broadside, thoroughly used up, worn out, leaking oil, and shouting GERONIMO!!!" -- Bill McKenna