[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org-cut-subtree should respect org-ctrl-k-protect-subtree
From: |
Ihor Radchenko |
Subject: |
Re: org-cut-subtree should respect org-ctrl-k-protect-subtree |
Date: |
Sun, 22 Sep 2024 16:35:17 +0000 |
Rudolf Adamkovič <rudolf@adamkovic.org> writes:
>> May you list the editing commands that you think can benefit from an
>> extra confirmation dialog?
>
> Me? I regularly archive subtrees by mistake. :)
You can re-bind C-c C-x C-a to
`org-archive-subtree-default-with-confirmation' then.
>> ... which are `org-ctrl-k-protect-subtree', `org-ctrl-c-ctrl-c-hook',
>> and `org-ctrl-c-ctrl-c-final-hook'. What do you want to do with the
>> latter two?
>
> The original idea was: If we are renaming the function, we might
> consider looking at the entire family, as naming after key strokes is
> not idiomatic in Emacs, nor a good idea, and should be slowly fixed
> long-term, IMO. If we are not renaming anything, the idea can be
> ignored, of course.
Yes, we do want to rename all these to something more readable in the
long term. But that's separate from merging the commands or variables
together.
--
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>