orgzly-android icon indicating copy to clipboard operation
orgzly-android copied to clipboard

Support archiving subtrees

Open pbx opened this issue 7 years ago • 11 comments

Org mode has this handy feature, archiving, that lets you move an item or subtree to a separate archive file. This would be handy as an option in the swipe menus (along with state change, moving, deleting, etc.).

I recognize this would have some complexity, since it involves writing to a second file.

http://orgmode.org/manual/Moving-subtrees.html#Moving-subtrees

pbx avatar Mar 04 '17 01:03 pbx

Personally, I'd almost prefer if Orgzly didn't support this. There are so many options and that control how archiving is done, Orgzly would have to support and test all of them, and it's not something I do often. I'd definitely want an undo option... :)

alphapapa avatar Mar 09 '17 15:03 alphapapa

What's the scope of orgzly again? Should it be a complement to org-mode, or a standalone program compatible with org-mode? Personally, I'd prefer the former, although I can see the appeal of the latter.

With that in mind, I'd rather see orgzly focus on making my org-mode files conveniently available on the go rather than reimplementing all of org-mode. Archival is one of those things that I'd rather do on the computer anyway.

mkaito avatar Mar 09 '17 15:03 mkaito

Agreed, issues like #15 would be more useful for me. I think of orgzly as a convenient interface/view into org-mode, not as a full reimplementation.

I don't even make my archives available on my phone. I mark something as done, and then when I get to my computer I archive all my done items. I can imagine a world where someone would find it useful, but if orgzly becomes a full reimplementation of org-mode there are tradeoffs there as well.

I don't want to minimize anyone or their workflow, I'm just curious how much demand there actually is.

danShumway avatar Mar 09 '17 17:03 danShumway

This shouldn't be too hard to implement. Moving is easy and all properties should be available (though some a bit slow to grab currently, like ARCHIVE_ITAGS, though for a single-note action it's not a big deal).

Not a very high priority to me though, but great task for getting to know the code. ;)

nevenz avatar Mar 09 '17 23:03 nevenz

I would just want to make sure that, if Orgzly does support archiving, it does it in exactly the same way full Org-mode does it. And if/when a new version of Org comes out, and a new option is added to adjust how archiving works, Orgzly would have to be updated to match.

alphapapa avatar Mar 10 '17 17:03 alphapapa

It's probably much simpler to implement Internal Archiving since this just involves adding an ARCHIVE tag and knowing to hide such entries. My archiving setup is complex enough that orgzy probably won't do it just the way I like, but adding a tag is just adding a tag.

erikstokes avatar Mar 10 '17 22:03 erikstokes

As somebody who uses Orgzly solely on mobile and as a text file on computer without emacs, this feature will be super useful. At least there should be an option to hide DONE items when viewing a notebook. Orgzly without org mode emacs is still better GTD app than most others.

vibhavsinha avatar Dec 03 '17 10:12 vibhavsinha

One more plus here. It is now the missing feature that prevents me from moving from Simpletask (todo.txt) to orgzly. Actually I used to use org-mode on emacs for notes only.

Now I use Simpletask to manage all my todo tasks everyday. I would need nested sections and other things (which is why I would like to use orgzly intensively) but most of all I need archiving. I don't go everyday on emacs, but I intensively use my productivity app on my smartphone.

lebarde avatar Jan 30 '18 15:01 lebarde

I would love this feature too!

falematte avatar Mar 16 '18 13:03 falematte

i would also love to hide items in the tree. either with a tag or/and items marked as done. this would be enough because i could then always manually archive these items later on my pc

mloetsch avatar Jan 31 '21 22:01 mloetsch

I would also find the feature handy. Org files can quickly become confusing if you don't archive or delete completed tasks from time to time. Especially archiving here means nothing else than moving a subtree to another file (for example standard to *.org_archive).

TODO.txt and as already mentioned the app Simpletask use such a feature, even with auto archiving once a task has been marked completed.

Silverhawk85 avatar Jun 14 '23 04:06 Silverhawk85