From dcb562ba091e3cb869160fec6f082deba749b7af Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 18 Apr 2020 19:28:07 +0200 Subject: [PATCH] news: Document drawer folding changes --- etc/ORG-NEWS | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index d7a2ee173..63b3bb255 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -295,6 +295,14 @@ HTML. Functions in this hook are run after ~org-agenda-filter~ is called. ** Removed or renamed functions and variables +*** Deprecated ~org-flag-dawer~ function +Use ~org-hide-drawer-toggle~ instead. +*** Deprecated ~org-hide-block-toggle-maybe~ function +Use ~org-hide-block-toggle~ instead. +*** Deprecated ~org-hide-block-toggle-all~ function +This function was not used in the code base, and has no clear use +either. It has been marked for future removal. Please contact the +mailing list if you use this function. *** Removed ~org-maybe-keyword-time-regexp~ The variable was not used in the code base. @@ -312,6 +320,13 @@ From ~org-enable-priority-commands~ to ~org-priority-enable-commands~. From ~org-show-priority~ to ~org-priority-show~. ** Miscellaneous +*** Drawers' folding use an API similar to block's + +Tooling for folding drawers interactively or programmatically is now +on par with block folding. In particular, the new +~org-hide-drawer-toggle~ function is the central place for drawer +folding. + *** Duration can be read and written in compact form ~org-duration-to-minutes~ understands =1d3h5min= as a duration,