Gnus development mailing list
 help / color / mirror / Atom feed
From: Julien Cubizolles <j.cubizolles@free.fr>
To: ding@gnus.org
Subject: gnus-message-archive-group
Date: Thu, 12 Jul 2012 17:14:01 +0200	[thread overview]
Message-ID: <877gu9t3k6.fsf@free.fr> (raw)

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.




             reply	other threads:[~2012-07-12 15:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-12 15:14 Julien Cubizolles [this message]
2012-07-12 15:34 ` gnus-message-archive-group Adam Sjøgren
2012-07-12 22:09   ` gnus-message-archive-group Julien Cubizolles
2012-07-12 22:34     ` gnus-message-archive-group Adam Sjøgren
2012-07-12 16:01 ` gnus-message-archive-group Andreas Schwab
2012-07-12 19:18   ` gnus-message-archive-group Julien Cubizolles

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877gu9t3k6.fsf@free.fr \
    --to=j.cubizolles@free.fr \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).