From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/1622 Path: news.gmane.org!not-for-mail From: Mike Dixon Newsgroups: gmane.emacs.gnus.user Subject: Re: Little help sorting please... Date: Tue, 17 Dec 2002 02:46:51 GMT Organization: EarthLink Inc. -- http://www.EarthLink.net Message-ID: References: <843coyth0c.fsf@lucy.cs.uni-dortmund.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138668344 12091 80.91.229.2 (31 Jan 2006 00:45:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:45:44 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:29:26 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 X-Newsreader: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 X-Mailer: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Original-NNTP-Posting-Host: 67.30.187.250 Original-X-Complaints-To: abuse@earthlink.net Original-X-Trace: newsread1.prod.itd.earthlink.net 1040093211 67.30.187.250 (Mon, 16 Dec 2002 18:46:51 PST) Original-NNTP-Posting-Date: Mon, 16 Dec 2002 18:46:51 PST Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:1762 Original-Lines: 53 X-Gnus-Article-Number: 1762 Tue Jan 17 17:29:26 2006 Xref: news.gmane.org gmane.emacs.gnus.user:1622 Archived-At: > Mike Dixon writes: > > > Here's (a portion of) what I've been using satisfactorily for quite > > awhile: > > > > gnus-message-archive-group '( > > (if (not (message-news-p)) "Mail/mail_cc") > > ("^comp.emacs" "nnfolder+saved:sent-to-emacs") > > ("^gnu.emacs.help" "nnfolder+saved:sent-to-emacs") > > . > > . > > . > > (".*" "nnfolder+saved:sent-to-others"))) > > (defun mike-gnus-message-archive-group (group) > (if group > (format "nnfolder:%s.archive" group) > "nnfolder:other.archive")) > (setq gnus-message-archive-group '(mike-gnus-message-archive-group)) > > I'm not sure if it works like this. Hm. It does say it could be a > list of functions, and the above is a list of functions, but I've > never tried it this way. > Thanks for the help Kai. I commented my old *archive*, added yours, restarted Emacs and when I tried to add a post, reply to a post, or fwd a post I get this (from *Messages*): run-hooks: Wrong type argument: listp, mike-gnus-message-archive-group Wrong type argument: listp, mike-gnus-message-archive-group The header pops up w/point on the first line of the header (and the error msg in m-buffer). This is the entire header that's generated (I indented it): Newsgroups: alt.test Subject: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 X-Newsreader: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 X-Mailer: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 --text follows this line-- I checked that there's only one *archive* (don't know if that matters). Beyond that I'm sorry - I don't know what else to check/test.... Mike --