From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/37775 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: custom function to modify Gcc Date: Tue, 14 Aug 2001 22:03:43 +0200 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035173130 15574 80.91.224.250 (21 Oct 2002 04:05:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:05:30 +0000 (UTC) Cc: tzz@northernlight.com Return-Path: Return-Path: Original-Received: (qmail 23494 invoked from network); 14 Aug 2001 20:04:12 -0000 Original-Received: from waldorf.cs.uni-dortmund.de (129.217.4.42) by gnus.org with SMTP; 14 Aug 2001 20:04:12 -0000 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien.cs.uni-dortmund.de [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id WAA05979; Tue, 14 Aug 2001 22:03:44 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id WAA14741; Tue, 14 Aug 2001 22:03:43 +0200 (MET DST) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-21) id WAA11744; Tue, 14 Aug 2001 22:03:43 +0200 Original-To: ding@gnus.org In-Reply-To: (prj@po.cwru.edu's message of "Tue, 14 Aug 2001 15:08:33 -0400") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.105 Original-Lines: 21 Xref: main.gmane.org gmane.emacs.gnus.general:37775 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:37775 prj@po.cwru.edu (Paul Jarc) writes: > Ted Zlatanov writes: > > I looked through the archives but couldn't find hints on this. How >> would I make Gnus append the "status" group to the Gcc header, if >> certain conditions (e.g. To: and Subject: regexes match) are met? > > Check out the "Archived Messages" node in the manual; you can include > a function in the value of gnus-message-archivegroup or > gnus-outgoing-message-group to decide how to set Gcc. You can also > use posting styles to set Gcc; see the "Posting Styles" node. This, however, takes place when setting up the message buffer. But maybe Ted wants to do stuff after typing in the Subject header and stuff? So it would be useful to have something in message-send-hook. Maybe header-action.el (by Holger Schauer, I think) is your friend, Ted? kai -- ~/.signature: No such file or directory