emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Archiving old instances of repeating todos
@ 2012-02-14 23:30 lbmlist
  2012-02-15 11:33 ` Bernt Hansen
  0 siblings, 1 reply; 3+ messages in thread
From: lbmlist @ 2012-02-14 23:30 UTC (permalink / raw)
  To: emacs-orgmode


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.

Louis

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Archiving old instances of repeating todos
  2012-02-14 23:30 Archiving old instances of repeating todos lbmlist
@ 2012-02-15 11:33 ` Bernt Hansen
  2012-02-16 13:37   ` Brian Wightman
  0 siblings, 1 reply; 3+ messages in thread
From: Bernt Hansen @ 2012-02-15 11:33 UTC (permalink / raw)
  To: lbmlist; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Archiving old instances of repeating todos
  2012-02-15 11:33 ` Bernt Hansen
@ 2012-02-16 13:37   ` Brian Wightman
  0 siblings, 0 replies; 3+ messages in thread
From: Brian Wightman @ 2012-02-16 13:37 UTC (permalink / raw)
  To: emacs-orgmode

On Wed, Feb 15, 2012 at 5:33 AM, Bernt Hansen <bernt@norang.ca> wrote:
> 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]

I also note that you do not keep your state messages inside of a
logbook drawer.  If you are just concerned with seeing the data and
not with it accumulating there, you could stuff it inside a LOGBOOK
drawer.

   (setq org-clock-into-drawer t)

or the equivalent configuration options should configure this.

--Brian

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-16 13:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-14 23:30 Archiving old instances of repeating todos lbmlist
2012-02-15 11:33 ` Bernt Hansen
2012-02-16 13:37   ` Brian Wightman

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