From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: Custom headers in gnus for replies
Date: Sun, 29 Dec 2002 00:06:55 +0100 [thread overview]
Message-ID: <m34r8x7ng0.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <20021014013912.GA2514@averell>
Andi Kleen <ak@muc.de> writes:
> I'm using gnus to read mailing lists which have been gated to newsgroups.
> The news gateways are one way - when I want to reply I have to mail
> to the original recipients.
>
> The gateway software allows this by inserting headers like
>
> X-Mailing-List: list-address
> X-Original-Cc: original cc list
>
> Currently I always edit the reply mails by hand and cut and paste the list
> from X-Original-cc and X-Mailing-List. Due to the arcane mail header syntax
> this sometimes leads to corrupted lists, especially when the cc list
> is complex and was spread over multiple lines.
>
> Is there a way to get gnus to do this for me? Basically I just want
> it to interpret X-Mailing-List as another From/Cc (to be inserted
> in the recipient list with group reply) and process the X-Original-Cc
> like a normal cc header.
>
> Is there any easy way to do this?
There is now. I've extended `message-get-reply-headers' to take a
list of headers to be picked at. So you can say:
(defun andi-wide-reply ()
(message-get-reply-headers t nil '("to" "cc" "from" "x-mailing-list"
"x-original-cc")))
(setq message-wide-reply-to-function 'andi-wide-reply)
And that's untested code, but it might work. :-)
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
prev parent reply other threads:[~2002-12-28 23:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-14 1:39 Andi Kleen
2002-12-28 23:06 ` Lars Magne Ingebrigtsen [this message]
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=m34r8x7ng0.fsf@quimbies.gnus.org \
--to=larsi@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).