From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marius Hofert Newsgroups: gmane.emacs.help Subject: Re: Gnus: Forwarding emails: how to get "Fwd:" in subject and ">" in body? Date: Mon, 28 Nov 2011 11:18:41 +0100 Message-ID: <1C197F11-1532-4292-9982-D09660FED6A8@math.ethz.ch> References: <87obvxsbbj.fsf@thinkpad.tsdh.de> <1B31ED0C-A73D-4D73-8CB6-0C896C5849DF@math.ethz.ch> <87ty5ps5jw.fsf@mean.albasani.net> <8739d9s1ej.fsf@mean.albasani.net> <877h2kfw4v.fsf@mean.albasani.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1322475544 29457 80.91.229.12 (28 Nov 2011 10:19:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Nov 2011 10:19:04 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Memnon Anon Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 28 11:18:59 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RUyIc-0001iv-Tj for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Nov 2011 11:18:59 +0100 Original-Received: from localhost ([::1]:37758 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUyIc-00089H-4g for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Nov 2011 05:18:58 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:56878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUyIT-00088c-1b for help-gnu-emacs@gnu.org; Mon, 28 Nov 2011 05:18:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RUyIO-0000n1-MI for help-gnu-emacs@gnu.org; Mon, 28 Nov 2011 05:18:49 -0500 Original-Received: from edge20.ethz.ch ([82.130.99.26]:9631) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUyIO-0000mE-Ex for help-gnu-emacs@gnu.org; Mon, 28 Nov 2011 05:18:44 -0500 Original-Received: from CAS22.d.ethz.ch (172.31.51.112) by edge20.ethz.ch (82.130.99.26) with Microsoft SMTP Server (TLS) id 14.1.355.2; Mon, 28 Nov 2011 11:18:41 +0100 Original-Received: from [192.168.1.221] (129.132.146.66) by CAS22.d.ethz.ch (172.31.51.112) with Microsoft SMTP Server (TLS) id 14.1.355.2; Mon, 28 Nov 2011 11:18:41 +0100 In-Reply-To: <877h2kfw4v.fsf@mean.albasani.net> X-Mailer: Apple Mail (2.1251.1) X-Originating-IP: [129.132.146.66] X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.130.99.26 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83089 Archived-At: Dear Memnon, thank you very much for this hint. I figured out the following: (setq message-forward-ignored-headers "^.*") and it worked :-) Cheers, Marius On 2011-11-28, at 10:24 , Memnon Anon wrote: >>>> Something I realized on testing is that a lot of "weird sender >>>> information" is sent with the forward. >>>> => Do you know how to prevent that from being included? >>> >>> (customize-group "Message Forwarding") <-C-x C-e here >>> Look around, can you figure it out? :) > >> I found two things: message-forward-as-mime and >> message-forward-show-mml. I guess it's the second (cause the technical >> clutter inserted in the message says something like "mml"). So I >> tried: (setq message-forward-show-mml nil) However, this doesn't seem >> to have an influence on the problem (I also did a restart just to make >> sure it's correctly set). > > The "weird sender information" in the forward are Headers. > By default, most header informations are kept, except: > > "^Content-Transfer-Encoding:\\|^X-Gnus" > > ,----[ Docstring `message-forward-ignored-headers' ] > | All headers that match this regexp will be deleted > | when forwarding a message. > `---- > > If you want all header information removed, try setting > `message-forward-ignored-headers' to a regexp that matches all headers. > > I leave that as an exercise to you :) > If you know nothing about regexps, > (elisp) Regular Expressions is a good starting point. > > Memnon > P.S.: If you really can not figure it out, write me an email. > >