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