[Top][All Lists]

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

Re: possible repost: create sent folder by year

From: Sivaram Neelakantan
Subject: Re: possible repost: create sent folder by year
Date: Mon, 26 Sep 2016 20:58:31 +0530
User-agent: Gnus/5.130015 (Ma Gnus v0.15) Emacs/25.1 (windows-nt)

On Thu, Sep 22 2016,Adam Sjøgren wrote:

> 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.

Thanks.  I've used the code above and it created folders in the same

[snipped 6 lines]


reply via email to

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