Hi Bastien, learning recently new things about org mode i think i have requested a bullshit. Basically the idea was to somehow 'retain' the project tree, or at least be able to restore its form from archive when needed. Seeing complexity of this, it does not look like something easy to implement...
.d. Bastien <b...@gnu.org> writes: > Hi David, > > David Belohrad <da...@belohrad.ch> writes: > >> for a certain time I'm using ordinary archiving. I.e. moving DONE marked >> tags to archive file. For this I'm using >> >> (org-advertized-archive-subtree &optional FIND-DONE) >> >> with shortcut C-u C-c C-x C-s, hence it will find all DONE items and >> move them to archive. >> >> I have a trouble with 'how' the items are moved. If I look into archive, >> the hiearchy is 'flattened'. What I'd like to see there is the same >> hierarchy as I have in the original file, the same tags, but with >> ARCHIVE tag added (eventually having entire file marked with ARCHIVE >> tag). > > Mhh... I don't see how we could not flatten the hierarchy in some > circumstances. > > For example: > > * TODO Headline > ** DONE Task > > If you want to archive the DONE Task to another file, you cannot > archive the TODO Headline with it. > > Or maybe I didn't understand your use-case correctly. > > Best, > > -- > Bastien