Dan Drake <[email protected]> writes:
> I took at look at the source code, and it seems like a trivial change
> to make these two things act consistently: [...]
Dan,
Thank you for reporting the bug and even prototyping a solution.
I think the logic should be
extracted into a function,
and tested on all paths:
- `org-kill-note-or-show-branches' (`C-c C-k'),
- `org-cut-subtree' (`k' on first *) and
- `org-kill-line' (`C-k').
However, we should then also rename
`org-ctrl-k-protect-subtree'
to something more general, like
`org-protect-subtrees',
as it applies beyond "ctrl-k".
Rudy
--
"The whole science is nothing more than a refinement of everyday
thinking." --- Albert Einstein, 1879-1955
Rudolf Adamkovič <[email protected]> [he/him]
http://adamkovic.org