From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/82030 Path: news.gmane.org!not-for-mail From: Julien Cubizolles Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-message-archive-group Date: Fri, 13 Jul 2012 00:09:54 +0200 Message-ID: <87a9z4ws0d.fsf@free.fr> References: <877gu9t3k6.fsf@free.fr> <87bojl2dtd.fsf@topper.koldfront.dk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1342131104 872 80.91.229.3 (12 Jul 2012 22:11:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 Jul 2012 22:11:44 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M30300@lists.math.uh.edu Fri Jul 13 00:11:44 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SpRbp-0003oz-RP for ding-account@gmane.org; Fri, 13 Jul 2012 00:11:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1SpRaX-0006q1-6H; Thu, 12 Jul 2012 17:10:21 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1SpRaV-0006pp-Kk for ding@lists.math.uh.edu; Thu, 12 Jul 2012 17:10:19 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1SpRaU-0001sz-1K for ding@lists.math.uh.edu; Thu, 12 Jul 2012 17:10:19 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1SpRaR-00065x-W8 for ding@gnus.org; Fri, 13 Jul 2012 00:10:16 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SpRaO-00015x-I0 for ding@gnus.org; Fri, 13 Jul 2012 00:10:12 +0200 Original-Received: from 78.250.74.94 ([78.250.74.94]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Jul 2012 00:10:12 +0200 Original-Received: from j.cubizolles by 78.250.74.94 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Jul 2012 00:10:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 78.250.74.94 User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) Cancel-Lock: sha1:XlkCuNxpW62pIzYwftRoKr3RrhE= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:82030 Archived-At: asjo@koldfront.dk (Adam Sjøgren) writes: > On Thu, 12 Jul 2012 17:14:01 +0200, Julien wrote: > >> I'm trying to use the date-named groups for archiving my sent messages >> but to separate news and mail messages. I tried the following : > >> ((if >> (message-news-p) >> (format-time-string "sent-news.%Y-%m") >> (format-time-string "sent-mail.%Y-%m"))) > > How did you set up your archive server? I didn't change the default settings > (setq gnus-message-archive-group > '((if (message-news-p) > (concat "news-" (format-time-string "%Y")) > (concat "mail-" (format-time-string "%Y"))))) I tried a slight modification of my setup, replacing a "." by a "-" : ,---- | (setq gnus-message-archive-group | '((if (message-news-p) | (format-time-string "sent-news-%Y-%m") | (format-time-string "sent-mail-%Y-%m") | ))) `---- and I don't have any problem anymore... There's definitely something strange going on here, but I can live with it. Maybe someone more knowledgeable with lisp than I am can spot the problem. Julien.