Function: org-agenda-cycle-show
org-agenda-cycle-show is an interactive and byte-compiled function
defined in org-agenda.el.gz.
Signature
(org-agenda-cycle-show &optional N)
Documentation
Show the current entry in another window, with default settings.
Default settings are taken from org-show-context-detail. When
use repeatedly in immediate succession, the remote entry will
cycle through visibility
children -> subtree -> folded
When called with a numeric prefix arg, that arg will be passed through to
org-agenda-show-1. For the interpretation of that argument, see the
docstring of org-agenda-show-1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-agenda.el.gz
(defun org-agenda-cycle-show (&optional n)
"Show the current entry in another window, with default settings.
Default settings are taken from `org-show-context-detail'. When
use repeatedly in immediate succession, the remote entry will
cycle through visibility
children -> subtree -> folded
When called with a numeric prefix arg, that arg will be passed through to
`org-agenda-show-1'. For the interpretation of that argument, see the
docstring of `org-agenda-show-1'."
(interactive "P")
(if (integerp n)
(setq org-agenda-cycle-counter n)
(if (not (eq last-command this-command))
(setq org-agenda-cycle-counter 1)
(if (equal org-agenda-cycle-counter 0)
(setq org-agenda-cycle-counter 2)
(setq org-agenda-cycle-counter (1+ org-agenda-cycle-counter))
(when (> org-agenda-cycle-counter 3)
(setq org-agenda-cycle-counter 0)))))
(org-agenda-show-1 org-agenda-cycle-counter))