From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Archiving Date: Thu, 29 Apr 2010 14:50:27 -0400 Message-ID: <87iq7aqej0.fsf@gollum.intra.norang.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O7Yom-0006vz-VW for emacs-orgmode@gnu.org; Thu, 29 Apr 2010 14:50:36 -0400 Received: from [140.186.70.92] (port=55108 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O7Yol-0006vk-KO for emacs-orgmode@gnu.org; Thu, 29 Apr 2010 14:50:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O7Yok-0000jE-0e for emacs-orgmode@gnu.org; Thu, 29 Apr 2010 14:50:35 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:61019) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O7Yoj-0000j4-Sq for emacs-orgmode@gnu.org; Thu, 29 Apr 2010 14:50:33 -0400 In-Reply-To: (J. David Boyd's message of "Thu\, 29 Apr 2010 13\:49\:32 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "J. David Boyd" Cc: emacs-orgmode@gnu.org david@adboyd.com (J. David Boyd) writes: > I've read all the archiving information, and I _think_ that I understand > it, bu there is my question. > > > I would like to put archived entries into a file, but keep the headlines > that existed when they were 'live', so that when I show them in the > clock, they line up under the parents that owned them. That way I can > see how much total time I have spent on certain projects, and just by > changing the 'agenda-with-archives' to something else, _not_ see them if > I don't want to. > > Is this possible? Does some guru know how to do this? I don't know of an automatic way to do this but I have this manually set up in my org-files. I keep level 1 headings as categories/topics and archive level 2 subtrees only. Each of the level 1 headings has a property that defines where the archived items should go - so they end up in the same tree structure in the archive file. ,---- | * Appointments | :PROPERTIES: | :CATEGORY: Appt | :ARCHIVE: %s_archive::* Appointments | :END: | ... | * Miscellaneous | :PROPERTIES: | :CATEGORY: todo | :ARCHIVE: %s_archive::* Miscellaneous | :END: `---- Regards, Bernt