Philip Mak wrote: > I don't suppose there's a command like <pipe-message>, except that it > filters headers (the header filtering code is already available in the > pager, after all)? Or would I have to write an external header > filtering program and then do something like: > > macro index E "<pipe-message> perl filter_header.pl > " > > which isn't exactly the optimal solution, since an external program > does not have ready access to my configuration file my_hdr settings, > but would work I suppose.
Yes, there is a pipe-message. If you set $pipe_decode, it will weed out the headers and the message you get will look just like it does in the pager, which should be suitable for printing.