Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Sivaram Neelakantan <nsivaram.net@gmail.com>
To: info-gnus-english@gnu.org
Subject: Re: possible repost: create sent folder by year
Date: Mon, 26 Sep 2016 20:58:31 +0530	[thread overview]
Message-ID: <87fuomznmo.fsf@gmail.com> (raw)
In-Reply-To: <87h997kd29.fsf@tullinup.koldfront.dk>

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	other threads:[~2016-09-26 15:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-22 17:04 Sivaram Neelakantan
2016-09-22 18:24 ` Adam Sjøgren
2016-09-26 15:28   ` Sivaram Neelakantan [this message]

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=87fuomznmo.fsf@gmail.com \
    --to=nsivaram.net@gmail.com \
    --cc=info-gnus-english@gnu.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).