Dan Drake <dan.dr...@gmail.com> writes: > I like that idea. It's consistent, uses "prior art", so to speak, and most > of all , archiving involves cutting the subtree, so it's a very similar > change to the buffer / structure.
I looked into doing this using a very simple variant of the command: (defun org-cut-subtree-with-confirmation (&optional n) "Cut the current subtree into the clipboard with prompt. Like `org-cut-subtree', but ask for confirmation before killing the subtree." (interactive "p") (when (yes-or-no-p "Really cut current subtree?") (funcall-interactively #'org-cut-subtree n))) However, unless we change the Org defaults (which I see no reason to), this new command will need to be used by users who are specifically seeking for such functionality. As you see, this thread got no replies from other people interested in the same functionality for over a month (Rudolf was interested in something more generic). Considering how simple the command is, I now think that the interested users can trivially implement it themselves (as you did). I feel that there is not much benefit adding such a command to Org mode itself. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>