"Dr. Michael Hailer" <[email protected]> writes:

> Org already provides org-cut-subtree, but there does not appear to be a
> corresponding command for simply deleting a subtree. One workaround is to call
> org-cut-subtree and then modify the kill ring afterwards, but that seems
> undesirable since the intention is not to kill the subtree in the first place.
>
> Would an org-delete-subtree command be useful in Org core?
> ...
> The intended distinction would simply be:
> * org-cut-subtree: remove the subtree and put it into the kill ring
> * org-delete-subtree: remove the subtree without touching the kill ring
>
> Does this sound like functionality that would be appropriate for Org itself?

I personally do not have much use for such a command. However,
considering that Emacs has delete-region as an equivalent to
kill-region, I do not see why we cannot have it.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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>

Reply via email to