I want to access the first entry of a
:LOGBOOK: drawer independently of the visibility of a subtree: folded, partially folded, or unfolded. This function worked on 9.1.9 in the first two cases (folded and partially folded):
(defun my-org-clock-goto-next-clock () (interactive) (org-back-to-heading) (search-forward "LOGBOOK:") (org-cycle 3) (forward-line) (move-beginning-of-line nil) )
I upgraded to Org mode 9.3.3 and
(org-cycle 3) no longer unfolds a subtree. At a top-level heading, I see a message:
Already at the top level of the outline
I read the manual on local and global visibility cycling and could not find how to set a subtree to unfolded.
What is the command to unfold all contents of a subtree regardless of the initial state?