emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Archiving drawers?


From: Bernt Hansen
Subject: Re: [O] Archiving drawers?
Date: Sun, 26 Aug 2012 11:20:32 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Bastien <address@hidden> writes:

> Hi Loris,
>
> "Loris Bennett" <address@hidden> 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 :)

When my LOGBOOK entries get too big I clone the task, remove the
repeater and mark it DONE (so I can archive the old entries and continue
with my current stuff)

For habits I keep some history so the current habit graph is correct
and for non-habits I usually (but not always) archive the clock entries
from beginning of this month and earlier.

My trigger for doing this is when I notice todo state changes take a
noticeable amount of time on the agenda.  I do this infrequently so I
haven't bothered automating it.  I do have to manually delete all of the
duplicated notes in the LOGBOOK drawer for the clone (clock lines are
removed in cloned tasks but the notes are not which feels wrong ... but
it hasn't bothered me enough to try to fix it yet.)

I'm sure there's a better way I haven't discovered yet.

Just my 2 cents.

Regards,
Bernt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]