emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Change in `org-cycle-hook' breaks behavior
@ 2022-05-26 16:33 Tor Kringeland
  2022-05-27  7:10 ` [PATCH] " Ihor Radchenko
  0 siblings, 1 reply; 10+ messages in thread
From: Tor Kringeland @ 2022-05-26 16:33 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-06-25  5:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-26 16:33 Change in `org-cycle-hook' breaks behavior Tor Kringeland
2022-05-27  7:10 ` [PATCH] " Ihor Radchenko
2022-05-27 12:41   ` Tor Kringeland
2022-05-28  3:31     ` Ihor Radchenko
2022-05-28 12:06       ` Tor Kringeland
2022-05-28 12:10         ` Tor Kringeland
2022-05-28 12:40         ` Ihor Radchenko
2022-05-28 14:14           ` Tor Kringeland
2022-05-29 12:19             ` Ihor Radchenko
2022-06-25  5:18   ` Ihor Radchenko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).