From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/82025 Path: news.gmane.org!not-for-mail From: Julien Cubizolles Newsgroups: gmane.emacs.gnus.general Subject: gnus-message-archive-group Date: Thu, 12 Jul 2012 17:14:01 +0200 Message-ID: <877gu9t3k6.fsf@free.fr> 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 1342106073 18774 80.91.229.3 (12 Jul 2012 15:14:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 Jul 2012 15:14:33 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M30295@lists.math.uh.edu Thu Jul 12 17:14:31 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 1SpL66-0007fJ-Ma for ding-account@gmane.org; Thu, 12 Jul 2012 17:14:30 +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 1SpL5r-0004x8-OB; Thu, 12 Jul 2012 10:14:15 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1SpL5q-0004wy-Dm for ding@lists.math.uh.edu; Thu, 12 Jul 2012 10:14:14 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1SpL5p-0004ng-Bi for ding@lists.math.uh.edu; Thu, 12 Jul 2012 10:14:14 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1SpL5n-0004nk-VC for ding@gnus.org; Thu, 12 Jul 2012 17:14:11 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SpL5n-0007AH-De for ding@gnus.org; Thu, 12 Jul 2012 17:14:11 +0200 Original-Received: from 78.250.78.31 ([78.250.78.31]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Jul 2012 17:14:11 +0200 Original-Received: from j.cubizolles by 78.250.78.31 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Jul 2012 17:14:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 78.250.78.31 User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) Cancel-Lock: sha1:GaVPywJwtv9JjbagxUIRumgT0xU= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:82025 Archived-At: 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"))) but it fails with Saving file /home/wilk/Mail/archive/sent-mail/2012-07... basic-save-buffer-2: /home/wilk/Mail/archive/sent-mail/: no such directory Inded there is no /home/wilk/Mail/archive/sent-mail/ directory but the messages where saved to the *file* /home/wilk/Mail/archive/sent-mail when I used : ((if (message-news-p) "sent-news" "sent-mail")) What am I missing ? Julien Cubizolles.