This is cool! Thanks Mike!
One suggestion I could see for improvement would be to prompt for a
filter program (instead of an alternate editor) and then replace the
message with the STDOUT of the filter. That way simple things like:
sed 's/\<re:/Re:/i'
or
grep -v '^X-Priority'
would work.
The prompt for <filter-message> would be something like
Filter command:
Anyone (dis)agree?
Thanks,
Steve
Mike Schiraldi wrote:
> Here's the patch. I wrote it, i'll let you test it.
>
> Don't forget to "sleep 1" or else mutt will assume your script
> didn't do anything.