From: Tor Kringeland <tor.kringeland@ntnu.no>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Change in `org-cycle-hook' breaks behavior
Date: Thu, 26 May 2022 16:33:55 +0000 [thread overview]
Message-ID: <m235gww8wg.fsf@ntnu.no> (raw)
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.
next reply other threads:[~2022-05-26 17:02 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-26 16:33 Tor Kringeland [this message]
2022-05-27 7:10 ` [PATCH] Re: Change in `org-cycle-hook' breaks behavior 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m235gww8wg.fsf@ntnu.no \
--to=tor.kringeland@ntnu.no \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).