Re: How to save 'what you see' as a file?
Chris G <cl <at> isbd.net>
2010-02-02 10:52:43 GMT
On Tue, Feb 02, 2010 at 10:37:35AM +0000, Toby Cubitt wrote:
> 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.)
That still includes all the headers though doesn't it? Ah, no it
doesn't it includes *no* headers, not quite what I want, I *do*
want what ignore/unignore show me.
> 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.)