From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Cc: ding@gnus.org
Subject: Re: Using Message-ID for reply splitting into groups
Date: Sun, 02 Jun 2002 10:27:59 +0200 [thread overview]
Message-ID: <vafd6vaytio.fsf@INBOX.auto.gnus.tok.lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: <m3adqfbvs0.fsf@tuxie.homelinux.net> (Nelson Ferreira's message of "Fri, 31 May 2002 22:03:11 -0400")
Nelson Ferreira <nelson.ferreira@bigfoot.com> writes:
> Did anyone ever tried to cook the Message-ID field so that you can split
> an incoming reply to mail you posted (or a reply), to the group where the
> you composed the original from ?
Yes, but I did it wrong. I added stuff the rhs (after "@") whereas it
should have been added to the lhs. Can you fix that?
;; Insert token into message id
(defadvice message-make-fqdn (around group-token activate)
"Insert a token for the current group into the message id."
(let ((fqdn ad-do-it)
(gcc (save-restriction
(message-narrow-to-headers-or-head)
(message-fetch-field "gcc"))))
(cond ((and gcc
(string-match "^nnimap:\\(.*\\)$" gcc))
(setq ad-return-value (concat (match-string 1 gcc)
".tok."
fqdn)))
((and gnus-newsgroup-name
(string-match "^nnimap:\\(.*\\)$" gnus-newsgroup-name))
(setq ad-return-value (concat (match-string 1 gnus-newsgroup-name)
".tok."
fqdn)))
(t (setq ad-return-value fqdn)))))
kai
--
Silence is foo!
prev parent reply other threads:[~2002-06-02 8:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-01 2:03 Nelson Ferreira
2002-06-01 5:44 ` Nelson Ferreira
2002-06-02 8:27 ` Kai Großjohann [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=vafd6vaytio.fsf@INBOX.auto.gnus.tok.lucy.cs.uni-dortmund.de \
--to=kai.grossjohann@cs.uni-dortmund.de \
--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).