From mboxrd@z Thu Jan 1 00:00:00 1970 From: david@adboyd.com (J. David Boyd) Subject: Re: Archiving Date: Thu, 29 Apr 2010 15:03:30 -0400 Message-ID: References: <87iq7aqej0.fsf@gollum.intra.norang.ca> 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 1O7Z1V-0004jG-1i for emacs-orgmode@gnu.org; Thu, 29 Apr 2010 15:03:45 -0400 Received: from [140.186.70.92] (port=47625 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O7Z1T-0004iP-NE for emacs-orgmode@gnu.org; Thu, 29 Apr 2010 15:03:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O7Z1R-0002n8-Fo for emacs-orgmode@gnu.org; Thu, 29 Apr 2010 15:03:43 -0400 Received: from lo.gmane.org ([80.91.229.12]:38707) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O7Z1R-0002mq-8y for emacs-orgmode@gnu.org; Thu, 29 Apr 2010 15:03:41 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O7Z1P-0005uc-Hr for emacs-orgmode@gnu.org; Thu, 29 Apr 2010 21:03:39 +0200 Received: from 198.204.74.254 ([198.204.74.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 Apr 2010 21:03:39 +0200 Received: from david by 198.204.74.254 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 Apr 2010 21:03:39 +0200 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: emacs-orgmode@gnu.org Bernt Hansen writes: > 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 > > That would work, but _way_ more work than I would like to do.... I just want a clean, hide 'em, but keep track of 'em, kind of structure. Thanks for the info though, maybe I can write a perl script to run that can go in and modify my .org files to create that.... Dave