Function: org-columns-compute
org-columns-compute is an autoloaded, interactive and byte-compiled
function defined in org-colview.el.gz.
Signature
(org-columns-compute PROPERTY)
Documentation
Summarize the values of PROPERTY hierarchically.
Also update existing values for PROPERTY according to the first column specification.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-colview.el.gz
;;;###autoload
(defun org-columns-compute (property)
"Summarize the values of PROPERTY hierarchically.
Also update existing values for PROPERTY according to the first
column specification."
(interactive)
(let ((main-flag t)
(upcase-prop (upcase property)))
(dolist (spec org-columns-current-fmt-compiled)
(pcase spec
(`(,(pred (equal upcase-prop)) . ,_)
(org-columns--compute-spec spec main-flag)
;; Only the first summary can update the property value.
(when main-flag (setq main-flag nil)))))))