From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/82026 Path: news.gmane.org!not-for-mail From: asjo@koldfront.dk (Adam =?iso-8859-1?Q?Sj=F8gren?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-message-archive-group Date: Thu, 12 Jul 2012 17:34:38 +0200 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <87bojl2dtd.fsf@topper.koldfront.dk> References: <877gu9t3k6.fsf@free.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1342107328 30621 80.91.229.3 (12 Jul 2012 15:35:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 Jul 2012 15:35:28 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M30296@lists.math.uh.edu Thu Jul 12 17:35:28 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 1SpLQN-0006W6-Ch for ding-account@gmane.org; Thu, 12 Jul 2012 17:35:27 +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 1SpLPv-00054G-HV; Thu, 12 Jul 2012 10:34:59 -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 1SpLPt-000542-Su for ding@lists.math.uh.edu; Thu, 12 Jul 2012 10:34:57 -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 1SpLPs-0000AF-3f for ding@lists.math.uh.edu; Thu, 12 Jul 2012 10:34:57 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1SpLPq-0005HG-B8 for ding@gnus.org; Thu, 12 Jul 2012 17:34:54 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SpLPm-0005bb-Pj for ding@gnus.org; Thu, 12 Jul 2012 17:34:50 +0200 Original-Received: from 2505ds5-by.0.fullrate.dk ([89.150.142.116]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Jul 2012 17:34:50 +0200 Original-Received: from asjo by 2505ds5-by.0.fullrate.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Jul 2012 17:34:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 39 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 2505ds5-by.0.fullrate.dk X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97,Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:82026 Archived-At: 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 have this in my ~/.gnus - it may very well to horribly outdated (but works for me with ma gnus from git): ; Archive outgoing articles: (setq gnus-message-archive-method '(nnml "archive" (nnml-directory "~/Mail/archive") (nnml-active-file "~/Mail/archive/active") (nnml-get-new-mail nil) (nnml-inhibit-expiry t))) (setq gnus-message-archive-group '((if (message-news-p) (concat "news-" (format-time-string "%Y")) (concat "mail-" (format-time-string "%Y"))))) I keep all my email, archives included, in nnml format, and only have groups for email/news per year - so this may be way off from what you want. Best regards, Adam -- "Det er jo bare punk, forklædt som Bubbers badekar!" Adam Sjøgren asjo@koldfront.dk