Function: org-agenda-log-mode

org-agenda-log-mode is an interactive and byte-compiled function defined in org-agenda.el.gz.

Signature

(org-agenda-log-mode &optional SPECIAL)

Documentation

Toggle log mode in an agenda buffer.

With argument SPECIAL, show all possible log items, not only the ones configured in org-agenda-log-mode-items.

With a C-u (universal-argument) C-u (universal-argument) prefix, show *only* log items, nothing else.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-agenda.el.gz
(defun org-agenda-log-mode (&optional special)
  "Toggle log mode in an agenda buffer.

With argument SPECIAL, show all possible log items, not only the ones
configured in `org-agenda-log-mode-items'.

With a `\\[universal-argument] \\[universal-argument]' prefix, show *only* \
log items, nothing else."
  (interactive "P")
  (org-agenda-check-type t 'agenda)
  (setq org-agenda-show-log
	(cond
	 ((equal special '(16)) 'only)
	 ((eq special 'clockcheck)
	  (if (eq org-agenda-show-log 'clockcheck)
	      nil 'clockcheck))
	 (special '(closed clock state))
	 (t (not org-agenda-show-log))))
  (org-agenda-set-mode-name)
  (org-agenda-redo)
  (message "Log mode is %s" (if org-agenda-show-log "on" "off")))