From: asjo@koldfront.dk (Adam Sjøgren)
To: ding@gnus.org
Subject: Re: Questions about mail forwarding
Date: Fri, 13 Apr 2012 22:40:07 +0200 [thread overview]
Message-ID: <878vhzicwo.fsf@topper.koldfront.dk> (raw)
In-Reply-To: <84zkagtbbo.fsf@optiplex.lan>
On Fri, 13 Apr 2012 09:06:35 +0300, mihkel wrote:
> (setq gnus-summary-mail-forward 1)
Setting a variable with the same name as a function doesn't change what
the function does.
,----[ C-h f gnus-summary-mail-forward RET ]
| gnus-summary-mail-forward is an interactive compiled Lisp function in
| `gnus-msg.el'.
|
| (gnus-summary-mail-forward &optional ARG POST)
|
| Forward the current message(s) to another user.
| If process marks exist, forward all marked messages;
| if ARG is nil, see `message-forward-as-mime' and `message-forward-show-mml';
| if ARG is 1, decode the message and forward directly inline;
| if ARG is 2, forward message as an rfc822 MIME section;
| if ARG is 3, decode message and forward as an rfc822 MIME section;
| if ARG is 4, forward message directly inline;
| otherwise, use flipped `message-forward-as-mime'.
| If POST, post instead of mail.
| For the "inline" alternatives, also see the variable
| `message-forward-ignored-headers'.
`----
What you want to do is to pass the optional ARG to the function.
I.e. you press: C-u 1 C-c C-f instead of just C-c C-f to forward the
email.
> 2. I want to have only some headers included in the forwarded mail. So I
> used the following snippet:
> (setq message-included-forward-headers
> "^Subject:\\|^To:\\|^Cc:\\|^From:\\|^Date:")
Where did you get that from?
The changelog.1 file says that that variable was removed. In 1999:
"1999-02-09 15:25:52 Lars Magne Ingebrigtsen <larsi@gnus.org>
[...]
(message-included-forward-headers): Removed."
> Again, it does not work. All headers are displayed. So my question is:
> what I'm doing wrong :)
I think you are collecting your snippets of configuration from very
strange places :-)
Best regards,
Adam
--
"You have to photosynthesize" Adam Sjøgren
asjo@koldfront.dk
next prev parent reply other threads:[~2012-04-13 20:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-13 6:06 mihkel
2012-04-13 20:40 ` Adam Sjøgren [this message]
2012-04-13 23:27 ` Michael Welsh Duggan
2012-04-14 8:29 ` mihkel
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=878vhzicwo.fsf@topper.koldfront.dk \
--to=asjo@koldfront.dk \
--cc=ding@gnus.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).