Hi Adam, I agree that this would be nice, but I believe it is almost impossible to make this stable. Because the user is free to add to and change the tree in the Org buffer, it is very easy to break this mechanism. Also, the general case to puttin things into the correct place in the archive is very complex. This best and only way to keep the structure of a tree in tact for the archive it to use in-place archiving (with the ARCHIVE tag) or maybe the archive sibling. And only move the entire tree to an archive file when averything is done. - Carsten -----Original Message----- From: emacs-orgmode-bounces+dominik=science.uva.nl@gnu.org on behalf of Adam Spiers Sent: Mon 6/2/2008 6:35 PM To: org-mode mailing list Subject: [Orgmode] archival mirroring source headline structure? 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! _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-org