From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/5464 Path: main.gmane.org!not-for-mail From: Andy Eskilsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Removing headers from mail.. Date: 05 Mar 1996 21:57:13 +0100 Organization: Flognatronik Sender: mpt95aes@jupiter.pt.hk-r.se Message-ID: References: <199603050814.JAA06029@ariel.pt.hk-r.se> Reply-To: mpt95aes@pt.hk-r.se NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035146065 436 80.91.224.250 (20 Oct 2002 20:34:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:34:25 +0000 (UTC) Cc: ding@ifi.uio.no Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.3/8.6.9) with SMTP id NAA01098 for ; Tue, 5 Mar 1996 13:27:48 -0800 Original-Received: from jupiter.pt.hk-r.se (root@jupiter.pt.hk-r.se [194.47.132.2]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id ; Tue, 5 Mar 1996 21:58:47 +0100 Original-Received: from ariel.pt.hk-r.se (ariel.pt.hk-r.se [194.47.134.20]) by jupiter.pt.hk-r.se (8.6.9/8.6.9) with ESMTP id VAA17313; Tue, 5 Mar 1996 21:58:23 +0100 Original-Received: (mpt95aes@localhost) by ariel.pt.hk-r.se (8.6.11/8.6.11) id VAA07652; Tue, 5 Mar 1996 21:57:16 +0100 Original-To: larsi@ifi.uio.no (Lars Magne Ingebrigtsen) X-Url: http://www.pt.hk-r.se/~mpt95aes In-Reply-To: larsi@ifi.uio.no's message of 05 Mar 1996 21:17:25 +0100 Original-Lines: 26 Xref: main.gmane.org gmane.emacs.gnus.general:5464 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:5464 / larsi@ifi.uio.no (Lars Magne Ingebrigtsen) wrote: | | Andrew Eskilsson writes: | | > When looking at the raw mail articles I have, they have a bunch of | > 'Received' lines in their headers, it would be nice if these could be | > removed.. | | Write a function to remove the Received headers and put in | `nnmail-prepare-incoming-hook'. That hook is called before handling | incoming mail. Hmm could be nice to have a chance seeing the received-by headings first, but I guess there is a hook to attach to when copying/moving articles too. The second problem is that I could do a hook that deletes one line, but the Received lines often span a couple of lines, is there any small function that can take care of this? /andy -- Don't walk in front of me, I might be unable to follow you. Don't walk after me, I might be unable to lead you. Just walk by my side and be my friend.