From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/37119 Path: main.gmane.org!not-for-mail From: Michael Totschnig Newsgroups: gmane.emacs.gnus.general Subject: Re: Gcc/Newsgroups header depending on mail addresses? Date: 26 Jul 2001 00:12:30 -0400 Organization: Gnus Information Center Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035172591 12202 80.91.224.250 (21 Oct 2002 03:56:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:56:31 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 1041 invoked from network); 26 Jul 2001 04:13:02 -0000 Original-Received: from quimby.gnus.org (195.204.10.139) by gnus.org with SMTP; 26 Jul 2001 04:13:02 -0000 Original-Received: (from news@localhost) by quimby.gnus.org (8.9.3/8.9.3) id GAA19456 for ding@gnus.org; Thu, 26 Jul 2001 06:12:52 +0200 (CEST) Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-NNTP-Posting-Host: a230-72.distant.umontreal.ca Original-X-Trace: quimby.gnus.org 996120771 20276 132.204.230.72 (26 Jul 2001 04:12:51 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 26 Jul 2001 04:12:51 GMT X-Face: *3CvpZiRslgUC;fTWZh!QaW1T],ge[<(qx()G[kwOtksjhQWI\%I3\1RVrjl !"Hvh^k[;i:s"lAw^OB6R~s`.4>DvB,k\'J~G$"]%LZyLgQcay)K-6"$Sc;V4 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.1 (Channel Islands) Original-Lines: 22 Xref: main.gmane.org gmane.emacs.gnus.general:37119 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:37119 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) wrote: > I've got a group where I put mails that go to a specific mailing > list. But some mails that belong to the same subject are addressed to > me personally and don't go to the mailing list. > > So when composing a followup, I would like to omit the Gcc header if > the mailing list address is in To or Cc, but include the Gcc header > otherwise. I have as part of gnus-message-archive-group the following form (let ((group (gnus-parameter-to-address gnus-newsgroup-name)) (adress (message-fetch-field "To"))) (and group adress (string-match group adress))) It compares the value of the to-adress group parameter with the To of the message. Am I mistaken to think that this could help you do what you want? -- Michael Totschnig PGP/GPG-Public-Key: http://www.er.uqam.ca/nobel/d364101/pgp.shtml