On Mon, Jan 12, 2015 at 01:14:10AM +0100, Suvayu Ali wrote: > On Sun, Jan 11, 2015 at 11:40:31AM -0500, Peter Davis wrote: > > I'm trying to use emacs as an alternative pager for mutt. Specifically, I'd > > like to use the gnus Article mode to display articles. I've > > tried just setting emacsclient as the pager, but I have some questions: > > > > 1) What exactly is passed to the pager? From my experiments, it appears the > > message is pre-formatted before passing it to the pager. That > > prevents me from latting the pager format it, so I'd like to avoid this. I > > tried moving my .mailcap file, but I'm still seeing already > > formatted messages. Is there any way to get mutt to send the whole raw > > message to the pager? > > As far as I know, the message is passed in via stdin. Emacs does not > have the capability to read and display this as a buffer. The only way > to use emacs as a pager is to write to a temp file and then open that in > Emacs. You have to achieve this from a custom script. >
Thanks. Yes, I've been experimenting a perl script that passes the text to emacs as a file, but it looks like it's being pre-formatted by mutt before being passed. Thanks, -pd -- ---- Peter Davis The Tech Curmudgeon www.techcurmudgeon.com