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

[snipped 6 lines]



sivaram
-- 


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to