From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul R Newsgroups: gmane.emacs.help Subject: Re: Gnus: Stripping HTML/PDF/DOC parts from emails? Date: Fri, 12 Feb 2010 13:00:37 +0100 Message-ID: <873a16ek9m.fsf@aspirouf.lan> References: <871vgqesoj.fsf@ma-patru.mathematik.uni-karlsruhe.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1265976081 5084 80.91.229.12 (12 Feb 2010 12:01:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Feb 2010 12:01:21 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Nicolas Neuss Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 12 13:01:17 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NfuCy-0001Rw-5q for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Feb 2010 13:01:16 +0100 Original-Received: from localhost ([127.0.0.1]:45657 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfuCx-0007JH-NO for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Feb 2010 07:01:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfuCT-0007F1-T1 for help-gnu-emacs@gnu.org; Fri, 12 Feb 2010 07:00:45 -0500 Original-Received: from [140.186.70.92] (port=47922 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfuCT-0007Dc-4v for help-gnu-emacs@gnu.org; Fri, 12 Feb 2010 07:00:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NfuCQ-0007QK-Kb for help-gnu-emacs@gnu.org; Fri, 12 Feb 2010 07:00:44 -0500 Original-Received: from mail-fx0-f215.google.com ([209.85.220.215]:49446) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NfuCQ-0007Q6-Fs for help-gnu-emacs@gnu.org; Fri, 12 Feb 2010 07:00:42 -0500 Original-Received: by fxm7 with SMTP id 7so2479443fxm.8 for ; Fri, 12 Feb 2010 04:00:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=R/01/pO47FynyH7ikd5zhLKlrMmXhypQNM8pNtYFF4I=; b=x7oD9crF8FSPubI/mRl/uMiwW6OIHWRmyp9LwOV6soXjeiUf/mquzMF3fDaOmbHlrd XnfvCdMsv5NbFdxQCPgc9xtoqU9yJRvJ8e8ffzpsTw0HEcgFMyRxQzU6hp0FL4o0qF// kle4DqFT+f1CdSRBjp1PQeCtCziKMGicEE1K8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=lPtRpWoKFqvey0xAGeGliXgcPeYgeEea4uJv7FkQyhZAGGPYC0Ox5L0wF9KG1b66U0 v60umyJLbhTbpcsURa0PInFTwBdth70IrRy+EIPUPNscfdmotwaEcW6St5rRcMMTi4gC ClQ9yyhmALSMEJ4/TVbpSMsnqMKNFn5CkAT4w= Original-Received: by 10.87.11.34 with SMTP id o34mr2612394fgi.26.1265976039570; Fri, 12 Feb 2010 04:00:39 -0800 (PST) Original-Received: from aspirouf.lan ([85.69.118.229]) by mx.google.com with ESMTPS id 14sm1664278fxm.11.2010.02.12.04.00.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 12 Feb 2010 04:00:38 -0800 (PST) In-Reply-To: <871vgqesoj.fsf@ma-patru.mathematik.uni-karlsruhe.de> (Nicolas Neuss's message of "Fri, 12 Feb 2010 09:58:52 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:71826 Archived-At: Hi, Nicolas> Hello, I relatively often get mails from people (probably Nicolas> a pandemic disease caused by using MS Outlook) who put more or Nicolas> less the same information in Text/HTML/PDF/DOC parts. Since Nicolas> I save almost all my email correspondence, I would like to Nicolas> strip the superfluous parts of those messages. Is there some Nicolas> way to do so in Gnus without editing the article by hand? I am in the exact same situation. I am receiving more and more mail with a 1 line body like "cf attachment", and the real content in a word document attached. Therefore I would love to have some generic tools to manipulate mail contents. In this case, I would replace the whole mime part by the output of 'catdoc' of 'pdftotext' and save the mail in this form. At least a way to blank the mime part would be nice. -- Paul