Bastien <b...@altern.org> writes: > Hi Loris, > > "Loris Bennett" <loris.benn...@fu-berlin.de> writes: > >> I have a small number of tasks that I clock into daily. I have already >> manually split off the older log entries into a separate draw called >> OLDLOGS. However, I was wondering whether there is a way of archiving >> these log entries while preserving the heading itself in the original >> org file. > > The question is: _where_ to archive those log entries? > > The best idea I can think of is another drawer, like you did. > As for automating this a bit, a nice Elisp exercise :)
I was thinking more along the lines of the way archiving works already, but instead of moving the whole heading, a copy of the heading plus the old logs would be made in the archive file, and the old logs would be deleted from the original file, i.e. gtd.org: ,----------------------------------------------------------------- | * Make tea | :LOGBOOK: | CLOCK: [2012-08-24 Fri 13:05]--[2012-08-24 Fri 13:40] => 0:35 | :END: | :OLDLOGS: | CLOCK: [2011-12-23 Fri 12:45]--[2011-12-23 Fri 13:16] => 0:31 | :END: `----------------------------------------------------------------- would become gtd.org: ,----------------------------------------------------------------- | * Make tea | :LOGBOOK: | CLOCK: [2012-08-24 Fri 13:05]--[2012-08-24 Fri 13:40] => 0:35 | :END: `----------------------------------------------------------------- gtd.org_archive: ,----------------------------------------------------------------- | * Make tea | :OLDLOGS: | CLOCK: [2011-12-23 Fri 12:45]--[2011-12-23 Fri 13:16] => 0:31 | :END: `----------------------------------------------------------------- Loris