emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Change in `org-cycle-hook' breaks behavior


From: Tor Kringeland
Subject: Change in `org-cycle-hook' breaks behavior
Date: Thu, 26 May 2022 16:33:55 +0000

In Org 9.5, `org-cycle-hook' includes `org-cycle-hide-drawers', which
hides the drawer after opening the contents of a headline with
`org-cycle'.  However, if you removed `org-cycle-hide-drawers' from the
hook, `org-cycle' would show you the drawers (at least the PROPERTIES
one).  I relied on this behavior, as I wanted the drawers to be shown
when I opened a headline.

In Org 9.6 the hook does no longer include `org-cycle-hide-drawers', and
this change is mentioned in the NEWS file.  The new default behavior is
to show a drawer iff it was opened previously.  This is fine, but I
don't see an easy change to resurrect my previously configuration wiht
Org 9.6.

Maybe a function `org-cycle-show-drawers' could be added?  Implicitly it
seems like `org-cycle' previously did contain this functionality.
Adding such a function to `org-cycle-hook' would solve my problem.


reply via email to

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