Add small utility to quickly update complex Org reports

This commit is contained in:
Daniel Borchmann 2024-12-14 09:39:22 +01:00
parent bac4fb389a
commit 661c5f9b22
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625
2 changed files with 10 additions and 0 deletions

View File

@ -544,6 +544,7 @@
hydra-org-clock/body
hydra-org-jump/body
hydra-org-custom/body
db/org-execute-babel-in-buffer-and-iterate-tables
db/make-org-capture-frame
db/org-onenote-open
db/org-outlook-open

View File

@ -1304,6 +1304,15 @@ headlined with their date."
(reverse result)))
(defun db/org-execute-babel-in-buffer-and-iterate-tables ()
"Update all babel source blocks in current buffer and iterate tables afterwards.
This is useful for updating complex reports that rely on a mix of
Org Babel source blocks and dependent tables."
(interactive)
(org-babel-execute-buffer)
(org-table-iterate-buffer-tables))
;;; Checklist Handling