unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Mark Walters <markwalters1009@gmail.com>
To: Jameson Graef Rollins <jrollins@finestructure.net>,
	notmuch@notmuchmail.org
Subject: Re: Exporting mime email
Date: Fri, 06 Jan 2012 01:01:10 +0000	[thread overview]
Message-ID: <87vcoppru1.fsf@qmul.ac.uk> (raw)
In-Reply-To: <87lipl3bj9.fsf@servo.finestructure.net>


Hi

On Thu, 05 Jan 2012 16:44:10 -0800, Jameson Graef Rollins <jrollins@finestructure.net> wrote:
> On Fri, 06 Jan 2012 00:29:39 +0000, Mark Walters <markwalters1009@gmail.com> wrote:
> > What is the best way of exporting/saving as text a mime-encoded email
> > from the emacs interface (e.g, if I want to save a mime-encoded
> > email containing a patch)?
> 
> Maybe you're looking for '|'?  That will pipe the raw message to
> whatever command is specified.

What I would like is a way of exporting the decoded text rather than the
raw message. As an explicit example I would like to be able to export a
mime encoded email containing a patch, and then do something like

patch -p1 < exported_file

Sorry for not making myself clear

Many thanks

Mark

  reply	other threads:[~2012-01-06  1:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-06  0:29 Exporting mime email Mark Walters
2012-01-06  0:44 ` Jameson Graef Rollins
2012-01-06  1:01   ` Mark Walters [this message]
2012-01-06  8:35 ` David Edmondson
2012-01-06 10:27   ` Mark Walters
2012-01-06 10:39     ` David Edmondson
2012-01-06 10:51       ` Mark Walters
2012-01-06 11:07         ` David Edmondson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vcoppru1.fsf@qmul.ac.uk \
    --to=markwalters1009@gmail.com \
    --cc=jrollins@finestructure.net \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).