From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Archiving drawers? Date: Fri, 24 Aug 2012 16:56:34 +0200 Message-ID: <87d32g2va5.fsf@altern.org> References: <87r4qw5voo.fsf@slate.zedat.fu-berlin.de> <8762884gg5.fsf@altern.org> <87lih45u5v.fsf@slate.zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4vJA-0002Xo-2w for emacs-orgmode@gnu.org; Fri, 24 Aug 2012 10:56:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4vJ4-0006s7-5A for emacs-orgmode@gnu.org; Fri, 24 Aug 2012 10:56:24 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:49132) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4vJ3-0006s1-VK for emacs-orgmode@gnu.org; Fri, 24 Aug 2012 10:56:18 -0400 Received: by wibhq4 with SMTP id hq4so797575wib.12 for ; Fri, 24 Aug 2012 07:56:17 -0700 (PDT) In-Reply-To: <87lih45u5v.fsf@slate.zedat.fu-berlin.de> (Loris Bennett's message of "Fri, 24 Aug 2012 14:52:28 +0200") 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: Loris Bennett Cc: emacs-orgmode@gnu.org Hi Loris, "Loris Bennett" writes: > Bastien writes: > >> Hi Loris, >> >> "Loris Bennett" 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. But then archiving the "* Make tea" headline would require to merge the logs of the archived one and those of the alive one. Quite some work. -- Bastien