From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/6630 Path: main.gmane.org!not-for-mail From: Jens Lautenbacher Newsgroups: gmane.emacs.gnus.general Subject: Re: Probs with mailreading. Date: 11 Jun 1996 12:02:26 +0200 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.66) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035147057 4239 80.91.224.250 (20 Oct 2002 20:50:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:50:57 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.5/8.6.9) with SMTP id DAA00927 for ; Tue, 11 Jun 1996 03:39:17 -0700 Original-Received: from lemcbed.lem.uni-karlsruhe.de (lemcbed.lem.uni-karlsruhe.de [129.13.103.197]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Tue, 11 Jun 1996 11:59:04 +0200 Original-Received: by lemcbed.lem.uni-karlsruhe.de; id AA05584; Tue, 11 Jun 1996 12:02:27 +0200 Original-To: Ding Mailing List In-Reply-To: Lars Magne Ingebrigtsen's message of 09 Jun 1996 06:14:47 +0200 Original-Lines: 46 X-Mailer: Gnus v5.2.15/XEmacs 19.14 Xref: main.gmane.org gmane.emacs.gnus.general:6630 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:6630 Lars Magne Ingebrigtsen writes: > > Just write a nice `gnus-message-archive-group'. Perhaps something > like: > > (setq gnus-message-archive-group > '((cond ((message-news-p) "misc-news") > (t (gnus-group-real-name gnus-newsgroup-name))))) > > Embellish to suit your needs. This would not work if pressing m outside of a group. Maybe better lie this: (setq gnus-message-archive-group '((cond ((message-news-p) "misc-news") (gnus-newsgroup-name (gnus-group-real-name gnus-newsgroup-name)) (t "misc-mail")))) But this (and your suggestion) have the drawback that they don't work except for "nnfolder+archive" Groups. I have the archive server as it is the default: "Real" news go into nnfolder+archive:misc-news, Mail goes to nnfolder+archive:mic-mail. But I also have groups like nnfolder+private:JTL. Mails send in this groups should be Gcc'ed there. So your suggestion gives me a header like: nnfolder+archive:JTL ^^^^^^^ How to change this? I would like to try to expand the group parameters that they would recognice something like gcc-self. if this parameter is not present or nil, the normal way of archive saving should happen. But if it is 'self, the Gcc header should point to the group, and if it is 'none, the Gcc header should not pop up (Nice on Mailinglists) If one could easy define locally other servers than "archive" this would be easy. The function above would simply check for the parameter gcc-self and react accordingly. But how to change archive to private inside this function? Cheers, Jens