Hi Thomas, Thomas Schaper <thomas+org-m...@libremail.nl> writes:
> When playing around with org-archive, I noticed that the function > org-archive-all-matches doesn't use org-archive-default-command but > calls org-archive-subtree directly. Is there any reason for this, or is > it simply a small bug/missing feature? I think this is because at present org-archive-all-matches is a non-interactive helper function that is called only when someone is using org-archive-subtree or org-toggle-archive-tag with a prefix argument. So without some refactoring, using org-archive-default-command would cause unexpected behavior, since it is invoked only in contexts in which people are explicitly expecting *either* org-archive-subtree *or* org-toggle-archive-tag. Were you by chance looking to have this work with org-archive-to-archive-sibling? Best, Matt