[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org-cut-subtree should respect org-ctrl-k-protect-subtree
From: |
Rudolf Adamkovič |
Subject: |
Re: org-cut-subtree should respect org-ctrl-k-protect-subtree |
Date: |
Wed, 04 Sep 2024 01:09:55 +0200 |
Ihor Radchenko <yantar92@posteo.net> writes:
> > - `org-kill-note-or-show-branches' (`C-c C-k'),
>
> This one does not modify anything in the buffer. What do you want to
> protect here?
Oops! That was a brain fart.
> As you saw, the purpose of this option is very specific now. I am not
> sure if it is a good thing to expand its scope.
I understand now too. Thank you for the explanation!
> May you list the editing commands that you think can benefit from an
> extra confirmation dialog?
Me? I regularly archive subtrees by mistake. :)
> ... 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.
Rudy
--
"Logic is a science of the necessary laws of thought, without which no
employment of the understanding and the reason takes place."
--- Immanuel Kant, 1785
Rudolf Adamkovič <rudolf@adamkovic.org> [he/him]
http://adamkovic.org