emacs-orgmode
[Top][All Lists]
Advanced

[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: Thu, 29 Aug 2024 12:39:59 +0200

Dan Drake <dan.drake@gmail.com> writes:

> What do you think we should have for the new name for
> org-ctrl-k-protect-subtree? Just "org-protect-subtree"?

I like that name, but perhaps we should zoom out a bit and look at the
entire family of the non-idiomatic `org-ctrl-*' variables.

Most importantly, though, we should wait for Ihor to say his thoughts,
as he is THE expert to consult, especially with regards to the APIs and
overall design of the Org mode.

> How do we handle renaming the variable? We'd want some way of
> deprecating the old one and so on.

Fortunately, Emacs has us covered.  See `defalias'.  Such functions are
used all over the Emacs code base, allowing it to move forward, for
decades to come, in a backward compatible way.

Thank you for making Org better!

Rudy
-- 
"The whole science is nothing more than a refinement of everyday
thinking."  --- Albert Einstein, 1879-1955

Rudolf Adamkovič <rudolf@adamkovic.org> [he/him]
http://adamkovic.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]