From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Archiving old instances of repeating todos Date: Wed, 15 Feb 2012 06:33:54 -0500 Message-ID: <87mx8k2uvx.fsf@norang.ca> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rxd7k-0001fF-3g for emacs-orgmode@gnu.org; Wed, 15 Feb 2012 06:34:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rxd7e-0004pQ-3V for emacs-orgmode@gnu.org; Wed, 15 Feb 2012 06:34:12 -0500 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:52704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rxd7e-0004lN-1E for emacs-orgmode@gnu.org; Wed, 15 Feb 2012 06:34:06 -0500 In-Reply-To: (lbmlist@hethcote.com's message of "Tue, 14 Feb 2012 16:30:28 -0700 (MST)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: lbmlist@hethcote.com Cc: emacs-orgmode@gnu.org 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