This sounds like a very useful idea and would dovetail nicely with our own K o.
From: Stephen Eglen <S.J.Eglen at damtp.cam.ac.uk>
To: mh-e-users at lists.sourceforge.net
Subject: Deleting attachments from emails
X-Mailer: MH-E 8.2; nmh 1.2; GNU Emacs 23.1.1
Date: Fri, 04 Dec 2009 12:54:29 +0000
Cc: Stephen Eglen <S.J.Eglen at damtp.cam.ac.uk>
Message-ID: <24301.1259931269@maps>
Does anybody have a nice way of deleting attachments from received
emails? If I get an attachment from someone that I need to keep (e.g. a
PDF version of a paper), I tend to file away the PDF. I'd like to then
delete the attachment, but keep the email it was sent with.
I guess I can always edit the file of the message and delete the
attachment 'by hand', but wondered if there was a way of doing it from
within mh-e?
Thanks, Stephen
From: Reiner Steib <reinersteib+gmane at imap.cc>
To: Stephen Eglen <S.J.Eglen at damtp.cam.ac.uk>
Subject: Re: Deleting attachments from emails
Date: Sat, 05 Dec 2009 12:14:00 +0100
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux)
Cc: mh-e-users at lists.sourceforge.net
X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.1.7
Message-ID: <87r5r9y8p3.fsf@marauder.physik.uni-ulm.de>
On Fri, Dec 04 2009, Stephen Eglen wrote:
> I'd like to then delete the attachment, but keep the email it was
> sent with.
>
> I guess I can always edit the file of the message and delete the
> attachment 'by hand', but wondered if there was a way of doing it
> from within mh-e?
In Gnus there's `gnus-article-save-part-and-strip' (I don't use MH-E).
Not sure if there's an MH-E interface for it or if it would be easy to
implement.
,----[ (info "(gnus)MIME Commands") ]
| `K O'
| Prompt for a file name, then save the MIME part and strip it from
| the article. The stripped MIME object will be referred via the
| message/external-body MIME type.
`----
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
Ticket moved from /p/mh-e/feature-requests/161/