From: kai.grossjohann@uni-duisburg.de (Kai Großjohann)
Subject: Re: Little help sorting please...
Date: Mon, 16 Dec 2002 11:06:27 +0100 [thread overview]
Message-ID: <843coyth0c.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: <m3bs3mifun.fsf@west_mm.org>
Mike Dixon <in_my.t@gline.org> 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.
The function mike-gnus-message-archive-group looks if it is called
with a group name. If so, then it constructs an archive group name
from the group name passed -- %s gets replaced with the group name.
If there is no group name, then it returns a default group.
--
~/.signature is: umop ap!sdn (Frank Nobis)
next parent reply other threads:[~2002-12-16 10:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <m3bs3mifun.fsf@west_mm.org>
2002-12-16 10:06 ` Kai Großjohann [this message]
2002-12-17 2:46 ` Mike Dixon
2002-12-17 9:38 ` Kai Großjohann
[not found] ` <m3adj3y9rn.fsf@west_mm.org>
[not found] ` <84fzsvmeg8.fsf@lucy.cs.uni-dortmund.de>
2002-12-21 8:57 ` Mike Dixon
[not found] ` <84vg1nbjht.fsf@lucy.cs.uni-dortmund.de>
2002-12-22 2:36 ` Mike Dixon
2002-12-22 14:07 ` Kai Großjohann
[not found] ` <m3isxdfcar.fsf@west_mm.org>
2002-12-29 8:42 ` Mark Dixon
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=843coyth0c.fsf@lucy.cs.uni-dortmund.de \
--to=kai.grossjohann@uni-duisburg.de \
/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).