Re: possible repost: create sent folder by year

2016-09-26 Thread Sivaram Neelakantan
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


Re: possible repost: create sent folder by year

2016-09-22 Thread Adam Sjøgren
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" a...@koldfront.dk


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


possible repost: create sent folder by year

2016-09-22 Thread Sivaram Neelakantan
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.

Not quite sure what to tweak.

sivaram
-- 


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