From: Dmitry Yaitskov <dimas@home.com>
Subject: gnus-message-archive-group Q.
Date: 09 Mar 2001 19:36:28 -0500 [thread overview]
Message-ID: <87wv9y4fzn.fsf@home.com> (raw)
Hi,
There are a few samples for gnus-message-archive-group, including
(setq gnus-message-archive-group
'(("^alt" "sent-to-alt")
("mail" "sent-to-mail")
(".*" "sent-to-misc")))
and
(setq gnus-message-archive-group
'((if (message-news-p)
"misc-news"
(concat "mail." (format-time-string "%Y-%m")))))
But how can I say something like:
(setq gnus-message-archive-group
'(("^alt" "sent-to-alt")
("mail" (concat "mail." (format-time-string "%Y-%m")))
(".*" "sent-to-misc")))
The docs for gnus-message-archive-group say that it can be set to "an
alist of regexps, functions and forms When a key "matches", the result
is used." - this seems to be what I need, but I couldn't figure out a
way to set it (the gnus-inews-insert-archive-gcc function treats the
"(concat..." in the last example to be a string). Thanks.
--
Cheers,
-Dima.
next reply other threads:[~2001-03-10 0:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-10 0:36 Dmitry Yaitskov [this message]
2001-03-10 0:43 ` Paul Jarc
2001-03-10 12:05 ` Kai Großjohann
2001-03-10 15:27 ` Dmitry Yaitskov
2001-03-10 15:48 ` Kai Großjohann
2001-03-10 16:13 ` Oystein Viggen
2001-03-10 21:04 ` Paul Jarc
2001-03-12 15:14 ` Dmitry Yaitskov
2001-03-12 18:40 ` Colin Marquardt
2001-03-16 21:18 ` Dmitry Yaitskov
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=87wv9y4fzn.fsf@home.com \
--to=dimas@home.com \
/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).