From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Spiers Subject: archival mirroring source headline structure? Date: Mon, 2 Jun 2008 17:35:30 +0100 Message-ID: <20080602163530.GC14400@atlantic.linksys.moosehall> Reply-To: Adam Spiers 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 1K3D0U-0004Aj-Ld for emacs-orgmode@gnu.org; Mon, 02 Jun 2008 12:35:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K3D0S-00047t-Mh for emacs-orgmode@gnu.org; Mon, 02 Jun 2008 12:35:38 -0400 Received: from [199.232.76.173] (port=45261 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3D0S-00047R-Dn for emacs-orgmode@gnu.org; Mon, 02 Jun 2008 12:35:36 -0400 Received: from mail.beimborn.com ([70.84.38.100]:50859) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K3D0S-0007r1-G9 for emacs-orgmode@gnu.org; Mon, 02 Jun 2008 12:35:36 -0400 Received: from mail.beimborn.com (localhost.localdomain [127.0.0.1]) by mail.beimborn.com (8.12.11.20060308/8.12.8) with ESMTP id m52GZXlt008164 for ; Mon, 2 Jun 2008 11:35:33 -0500 Received: from localhost (localhost [[UNIX: localhost]]) by mail.beimborn.com (8.12.11.20060308/8.12.11/Submit) id m52GZXn8008158 for emacs-orgmode@gnu.org; Mon, 2 Jun 2008 17:35:33 +0100 Content-Disposition: inline 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: org-mode mailing list I just discovered `org-archive-save-context-info' - very nice! especially the preservation of the outline path (olpath). Though it might be even nicer if archival could optionally auto-vivify outline paths and archive sub-headings under them. So if your source file had: * PROJECT foo ** NEXT bar and you archived 'bar', it would check in the archive file whether 'foo' already exists, if not create it, and then archive bar under it. So after incrementally archiving many sub-items to do with a single project you would have all the sub-items gathered under that headline in the archive file. Is this doable now, and if not would it be hard to support? Thanks!