<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] [RFC] Allow mutt to render an e-mail from the



Christoph Berg wrote:
Re: Bernard Blackham 2007-02-02 
<20070202072430.GA24799@xxxxxxxxxxxxxxxxxxxxxxxxx>
The attached patch adds the -r (render) flag, which accepts the
filename of a raw e-mail message. It renders the message to stdout

I'm not opposed to this patch, but here's some crude hack that roughly
does the same:

$ mutt -e'set print_command=cat; push py<enter><quit><enter>' -Rf filename

Maybe some idea from it can be reused...

It's a good idea, thanks! It seems though that my Maildir messages don't contain the From line that starts an mbox message, so it doesn't recognise the message alone as being a folder. I don't want to have to rewrite the e-mail in order to get mutt to parse it. I could link the file into a temporary Maildir structure I guess, but that's still an icky hack.

Kind regards,

Bernard.