emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Puneeth Chaganti <punchagan@gmail.com>
To: "Urs Rau (UK)" <urs.rau@om.org>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Can I archive into datetree based on CLOSED date property
Date: Sun, 20 Feb 2011 16:25:02 +0530	[thread overview]
Message-ID: <AANLkTimbXq_Zd1Lx-_VF=r1jNb6exSCoVjetxvrfrWL9@mail.gmail.com> (raw)
In-Reply-To: <EBB01C04-0061-421A-A637-32608E816AE6@uk.om.org>

On Sun, Feb 20, 2011 at 3:58 PM, Urs Rau (UK) <urs.rau@om.org> wrote:
> Hi
> I would quite like to have a function that would work on a region , or on a whole org file of todos and archive completed todos or a selected region into a datetree in the archive file in such a way that all completed todo items would be filed under the date on which their property says they were completed or closed.
> Maybe it can already do it and I just need to learn how?

Worg has a hack [1] by Osamu Okanu, that modifies the
org-archive-subtree function to archive into a datetree. Combining
this with the org-map-entries function, you should be able to achieve
what you want.

Hope this helps,
Puneeth

[1] - http://orgmode.org/worg/org-hacks.html#sec-1_3_2

  reply	other threads:[~2011-02-20 10:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-20 10:28 Can I archive into datetree based on CLOSED date property Urs Rau (UK)
2011-02-20 10:55 ` Puneeth Chaganti [this message]
     [not found]   ` <36678C5F-9B2E-42FF-8CDF-A45D3A14A336@uk.om.org>
2011-02-21  8:12     ` Puneeth Chaganti

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTimbXq_Zd1Lx-_VF=r1jNb6exSCoVjetxvrfrWL9@mail.gmail.com' \
    --to=punchagan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=urs.rau@om.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).