On Thursday, 4 Nov 2021 at 16:56, Michael Maurer wrote: > I'm curious about this use of a diary-file in combination with > org-babel. I'm guessing it outputs only specific items from the > diary-file based on some variables? I tried to google this, but > couldn't find anything (or maybe I'm speculating wrong).
There may be some fundamental misunderstanding here. What does orb-babel have to do with org mode and the Emacs diary integration? The Emacs diary & calendar (core Emacs features) allow for elisp sexps in the diary file and org-diary is an elisp function that returns information in the form that the diary understands. There is a section in the Emacs info manual on the Calendar and the Diary (section 31). Conversely, the org agenda can make use of Emacs diary expressions as well! But that's another story. -- : Eric S Fraga via Emacs 28.0.60, Org release_9.5-192-gd4e192 : Latest paper written in org: https://arxiv.org/abs/2106.05096