emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: lbmlist@hethcote.com
Cc: emacs-orgmode@gnu.org
Subject: Re: Archiving old instances of repeating todos
Date: Wed, 15 Feb 2012 06:33:54 -0500	[thread overview]
Message-ID: <87mx8k2uvx.fsf@norang.ca> (raw)
In-Reply-To: <alpine.DEB.2.02.1202130702110.11849@caritas.hethcote.com> (lbmlist@hethcote.com's message of "Tue, 14 Feb 2012 16:30:28 -0700 (MST)")

lbmlist@hethcote.com writes:

> How do you archive old instances of repeating todos, C-c C-x C-s archives
> the whole thing. I'd like to have something that would take the following:
>
> ** TODO Mutter an oath
>    DEADLINE: <2012-02-13 Mon ++1d -0d>
>    - State "DONE"       from "TODO"       [2012-02-12 Sun 16:25]
>    - State "DONE"       from "TODO"       [2012-02-09 Thu 18:43]
>    - State "DONE"       from "TODO"       [2012-02-08 Wed 12:32]
>    - State "DONE"       from "TODO"       [2012-02-07 Tue 19:28]
>    - State "DONE"       from "TODO"       [2012-02-06 Mon 15:45]
>    - State "DONE"       from "TODO"       [2012-02-05 Sun 17:27]
>    - State "DONE"       from "TODO"       [2012-02-03 Fri 12:20]
>    - State "DONE"       from "TODO"       [2012-02-02 Thu 22:00]
>    - State "DONE"       from "TODO"       [2012-02-01 Wed 17:47]
>    - State "DONE"       from "TODO"       [2012-01-31 Tue 19:32]
>    - State "DONE"       from "TODO"       [2012-01-30 Mon 17:52]
>    - State "DONE"       from "TODO"       [2012-01-29 Sun 12:30]
>    - State "DONE"       from "TODO"       [2012-01-28 Sat 23:05]
>
> and archive it so that the active part would appear something like:
>
> ** TODO Mutter an oath
>    DEADLINE: <2012-02-13 Mon ++1d -0d>
>    - State "DONE"       from "TODO"       [2012-02-12 Sun 16:25]
>    - State "DONE"       from "TODO"       [2012-02-09 Thu 18:43]
>    - State "DONE"       from "TODO"       [2012-02-08 Wed 12:32]
>    - State "DONE"       from "TODO"       [2012-02-07 Tue 19:28]
>
>
> And the archive would look something like:
>
> ** TODO Mutter an oath
>    - State "DONE"       from "TODO"       [2012-02-06 Mon 15:45]
>    - State "DONE"       from "TODO"       [2012-02-05 Sun 17:27]
>    - State "DONE"       from "TODO"       [2012-02-03 Fri 12:20]
>    - State "DONE"       from "TODO"       [2012-02-02 Thu 22:00]
>    - State "DONE"       from "TODO"       [2012-02-01 Wed 17:47]
>    - State "DONE"       from "TODO"       [2012-01-31 Tue 19:32]
>    - State "DONE"       from "TODO"       [2012-01-30 Mon 17:52]
>    - State "DONE"       from "TODO"       [2012-01-29 Sun 12:30]
>    - State "DONE"       from "TODO"       [2012-01-28 Sat 23:05]
>
>
>
> Any help would be appreciated.

Hi Louis,

After some time when the repeating task has accumulated enough log stuff
I clone the task with time shift of 1 day in this case.
There's a problem with ++ and cloning so I remove the repeater on the
old task (it works fine with just +1d) and delete my LOGBOOK drawer in
the new repeating task.

When the old task is DONE I archive that with C-c C-x C-s and start
accumulating new stuff in the new repeating task.

HTH,
Bernt

  reply	other threads:[~2012-02-15 11:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-14 23:30 Archiving old instances of repeating todos lbmlist
2012-02-15 11:33 ` Bernt Hansen [this message]
2012-02-16 13:37   ` Brian Wightman

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=87mx8k2uvx.fsf@norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=lbmlist@hethcote.com \
    /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).