From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/35287 Path: main.gmane.org!not-for-mail From: Dmitry Yaitskov Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-message-archive-group Q. Date: 10 Mar 2001 10:27:18 -0500 Organization: Just me at home Message-ID: <87lmqd4pbd.fsf@home.com> References: <87wv9y4fzn.fsf@home.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035171053 2142 80.91.224.250 (21 Oct 2002 03:30:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:30:53 +0000 (UTC) Cc: ding@gnus.org, dimas@home.com Return-Path: Original-Received: (qmail 24236 invoked by alias); 10 Mar 2001 15:27:43 -0000 Original-Received: (qmail 24229 invoked from network); 10 Mar 2001 15:27:43 -0000 Original-Received: from 24.66.123.246.on.wave.home.com (HELO lucy.on.wave.home.com) (24.66.123.246) by gnus.org with SMTP; 10 Mar 2001 15:27:43 -0000 Original-Received: from Spooler by lucy.on.wave.home.com (Mercury/32 v3.21c) ID MO0003B9; 10 Mar 01 10:27:43 -0500 Original-Received: from spooler by lucy.on.wave.home.com (Mercury/32 v3.21c); 10 Mar 01 10:27:28 -0500 Original-Received: from lucy.on.wave.home.com (127.0.0.1) by lucy.on.wave.home.com (Mercury/32 v3.21c) with ESMTP ID MG0003B8; 10 Mar 01 10:27:18 -0500 Original-To: Ding In-Reply-To: (prj@po.cwru.edu's message of "09 Mar 2001 19:43:15 -0500") User-Agent: Gnus/5.090001 (Oort Gnus v0.01) XEmacs/21.2 (Thelxepeia) Original-Lines: 30 Xref: main.gmane.org gmane.emacs.gnus.general:35287 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:35287 prj@po.cwru.edu (Paul Jarc) wrote: > Dmitry Yaitskov writes: > > 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"))) > > Assuming you don't leave Emacs running for days at a time: > (setq gnus-message-archive-group > `(("^alt" "sent-to-alt") > ("mail" ,(concat "mail." (format-time-string "%Y-%m"))) > (".*" "sent-to-misc"))) > > This will determine the group name once when you first evaluate it; if > the month changes while Emacs is running, the group name won't be > updated unless you re-eval the setq form. Thanks. Unfortunately (?) I do leave Emacs running (unless I update the sources and rebuild it), sometimes for weeks even. > paul > > -- Cheers, -Dima.