auto pipe to script on viewing message with output to pager

2009-10-10 Thread Eric Smith
I want to run a translation script automatically when viewing a mail in the pager. The output of the script should be displayed in the pager. What I do now is go into the attachment menu and then pipe to the script. Works perfectly but is too manual. But the automatic method should also send

Re: auto pipe to script on viewing message with output to pager

2009-10-10 Thread Eric Smith
This macro which could be an autocommand of course, works okay but does not send the output to pager which I want. macro index z view-attachmentssearchtextenterpipe-entrytranslate_scriptenter -- - Eric Smith Eric Smith said: I want to run a translation script automatically when viewing a

Re: auto pipe to script on viewing message with output to pager

2009-10-10 Thread Christian Brabandt
Hi Eric! On Sa, 10 Okt 2009, Eric Smith wrote: I want to run a translation script automatically when viewing a mail in the pager. The output of the script should be displayed in the pager. display filter might be what you want. regards, Christian -- • Do you pine for the days when men

Re: auto pipe to script on viewing message with output to pager

2009-10-10 Thread Simon Ruderich
On Sat, Oct 10, 2009 at 12:11:02PM +0200, Eric Smith wrote: I want to run a translation script automatically when viewing a mail in the pager. The output of the script should be displayed in the pager. What I do now is go into the attachment menu and then pipe to the script. Works