info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: possible repost: create sent folder by year


From: Adam Sjøgren
Subject: Re: possible repost: create sent folder by year
Date: Thu, 22 Sep 2016 20:24:30 +0200
User-agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/24.5 (gnu/linux)

Sivaram writes:

> How do I make gnus create sent folders by year instead of the default
> archive:sent.2016.09 etc?  I want to store my sent mails by year
> instead of by year.

I do it like this:

  (setq gnus-message-archive-group
        '((if (message-news-p)
              (concat "news-" (format-time-string "%Y"))
            (concat "mail-" (format-time-string "%Y")))))

which creates yearly folders for news and mail, e.g. news-2016 and
mail-2016.


  Best regards,

    Adam

-- 
 "It will turn into pointer equality or something             Adam Sjøgren
  ghastly like that"                                     asjo@koldfront.dk




reply via email to

[Prev in Thread] Current Thread [Next in Thread]