Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Cc: ding@gnus.org
Subject: Re: Gcc/Newsgroups header depending on mail addresses?
Date: Tue, 24 Jul 2001 23:54:48 +0200	[thread overview]
Message-ID: <vafk80ydmc7.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: <m1zo9uz53c.fsf@reader.newsguy.com> (Harry Putnam's message of "24 Jul 2001 09:05:21 -0700")

On 24 Jul 2001, Harry Putnam wrote:

> Now how might I go about ensuring that messages that will endup in a
> group with G p set for gcc, will get the gcc header even if replied
> to from preinbox.  Some way for gnus to know where a split would
> have put the message and gcc accordingly.

Hm.  You could do stuff from message-header-setup-hook.  For example,
you could do (mail-fetch-field "To" nil t), do a regex match on that,
do (mail-fetch-field "Cc" nil t), do a regex match on that.  Based on
the result, you can do (message-add-header "Gcc: foo").

Hm.  I wonder if it was possible to use the splitting machinery
instead of manually doing the regex matching?  I'm not sure.  Maybe
the splitting machinery needs to be more modularized.  Hm.  Maybe
nnmail-article-group does the right job?  (Looking at the headers and
returning a group name.)

kai
-- 
~/.signature: No such file or directory


  reply	other threads:[~2001-07-24 21:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-24 14:25 Kai Großjohann
2001-07-24 16:05 ` Harry Putnam
2001-07-24 21:54   ` Kai Großjohann [this message]
2001-07-26  4:12 ` Michael Totschnig

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=vafk80ydmc7.fsf@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).