On Thu, 24 May 2001, Leon Brocard wrote:
> Paul Makepeace sent the following bits through the ether:
>
> > Have you integrated into a mail server (module, procmail, whatever)
>
> .muttrc: set editor="/home/acme/bin/autoformat %s; xemacs -nw %s"
>
> Leon
>
in PINE
S SETUP -> C Config
display-filters: ~mark/bin/autoformat
where autoformat is simply
<perl>
#!/usr/bin/perl
use strict;
use Text::Autoformat;
$_ = <>;
# don't process the headers
if (/^Subject/)
{
print;
print while (<>);
exit;
}
# slurp in text and process
my $foo = $_;
$foo .= $_ while (<>);
$_ = autoformat($foo, {all => 1});
# begon disclaimers
s/The information contained in this communication.*//si;
print;
</perl>
Later
Mark
--
My other mail program has a .muttrc
- Re: Email Style (was: Re: E... Paul Makepeace
- Re: Email Style (was: Re: E... David H. Adler
- Re: Email Style (was: Re: E... Paul Makepeace
- Re: Email Style (was: Re: E... Damian Conway
- Re: Email Style (was: Re: E... Damian Conway
- Re: Email Style (was: Re: E... Simon Cozens
- Re: Email Style (was: Re: E... Piers Cawley
- Re: Email Style (was: Re: E... David H. Adler
- Re: Email Style (was: Re: E... Greg McCarroll
- Re: Email Style (was: Re: E... Leon Brocard
- Re: Election Manifestos Mark Fowler
- Re: Election Manifestos Leon Brocard
- Re: Election Manifestos Paul Makepeace
- Re: Election Manifestos Martin Ling
- Re: Election Manifestos Paul Makepeace
- Re: Election Manifestos Martin Ling
- RE: Election Manifestos Cross David - dcross
- Re: Election Manifestos Leon Brocard
- Re: Election Manifestos Simon Cozens
- Re: Election Manifestos Simon Wistow
- Re: Election Manifestos Simon Cozens
