I edit content in org-mode emacs and use the header structure in folded and expanded modes. In editing, however, I worry that I accidentally delete a folded subtree containing content.
Is there a way to get org-mode to warn me before deleting a folded subtree containing hidden content?
In some cases, to protect hidden trees, see the following variables:
org-catch-invisible-edits org-ctrl-k-protect-subtree
Please note that they will not protect hidden trees from their destruction, for example, C-w( kill-region).
C-w
kill-region