Gnus development mailing list
 help / color / mirror / Atom feed
* gnus-message-archive-group Q.
@ 2001-03-10  0:36 Dmitry Yaitskov
  2001-03-10  0:43 ` Paul Jarc
  0 siblings, 1 reply; 10+ messages in thread
From: Dmitry Yaitskov @ 2001-03-10  0:36 UTC (permalink / 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.



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2001-03-16 21:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-10  0:36 gnus-message-archive-group Q Dmitry Yaitskov
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

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).