all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marius Hofert <marius.hofert@math.ethz.ch>
To: Memnon Anon <gegendosenfleisch@googlemail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Gnus: Forwarding emails: how to get "Fwd:" in subject	and	">"	in	body?
Date: Mon, 28 Nov 2011 11:18:41 +0100	[thread overview]
Message-ID: <1C197F11-1532-4292-9982-D09660FED6A8@math.ethz.ch> (raw)
In-Reply-To: <877h2kfw4v.fsf@mean.albasani.net>

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.
> 
> 





  reply	other threads:[~2011-11-28 10:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-27 13:30 Gnus: Forwarding emails: how to get "Fwd:" in subject and ">" in body? Marius Hofert
2011-11-27 17:51 ` Tassilo Horn
2011-11-27 18:38   ` Marius Hofert
2011-11-27 20:01     ` Memnon Anon
2011-11-27 20:45       ` Marius Hofert
2011-11-27 21:29         ` Memnon Anon
2011-11-27 21:48           ` Marius Hofert
2011-11-28  8:24           ` Marius Hofert
2011-11-28  9:24             ` Memnon Anon
2011-11-28 10:18               ` Marius Hofert [this message]
2011-11-27 18:55   ` Memnon Anon

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

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

  git send-email \
    --in-reply-to=1C197F11-1532-4292-9982-D09660FED6A8@math.ethz.ch \
    --to=marius.hofert@math.ethz.ch \
    --cc=gegendosenfleisch@googlemail.com \
    --cc=help-gnu-emacs@gnu.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.