On Tue, Feb 02, 2010 at 09:34:17AM +0100, Christian Brabandt wrote:
> On So, 31 Jan 2010, Chris G wrote:
>
> > Is there any fairly straightforward way to save what you see in the
> > mutt pager as a file?  I want to record some E-Mail as files for
> > another application and what I need to do basically is save what I can
> > see on the screen as a file which I can name.
>
> Besides decode-copy <ESC>-C, I sometimes simply pipe the message through
> cat. You should set pipe_decode for that.

Perhaps I'm misunderstanding the original question, but as no one's yet
pointed it out...

If you want to save the text of a message (i.e. the part displayed in the
mutt pager), you can hit "v" to view a list of message parts, then "s" to
save the part containing the message itself to file. (Assuming default
key bindings.)

Despite what you might think from the name of the command bound to "v"
("view-attachments"), this command displays all message parts, including
the message itself. (I recommend reading up on mutt's mime handling if
you want to understand this in more depth.)

HTH,

Toby
--
Dr T. S. Cubitt
Quantum Information Theory group
Department of Mathematics
University of Bristol
United Kingdom

email: [email protected]
web: www.dr-qubit.org

Reply via email to