diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-31 09:39:11 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-31 09:39:11 -0500 |
| commit | 55e980fe28112e636a6d3165979f161d1a6038ab (patch) | |
| tree | dc0e656b9c2b15dcaf1b8ab540f82a9829fb5be0 /modules/font-profiles.el | |
| parent | 00f44f46f65a96bb84271faa7f4ed7965fc44d5e (diff) | |
| download | dotemacs-55e980fe28112e636a6d3165979f161d1a6038ab.tar.gz dotemacs-55e980fe28112e636a6d3165979f161d1a6038ab.zip | |
feat(agenda): query the agenda window as JSON for external renderers
I need the agenda drawable from outside Emacs, on a 24-hour axis that
refreshes every few minutes.
- cj/agenda-window-json returns every entry intersecting an epoch-second
window.
- Epoch seconds keep timezone out of the interface. The consumer converts
per city, so DST weeks stop being a special case.
- Repeating entries expand to one row per occurrence through org's own
arithmetic, so they land where my agenda shows them.
- Given an out-path it writes atomically. A reader on a timer never sees a
half-written file.
- It skips archived and commented subtrees, as the agenda does.
The trap: SCHEDULED and DEADLINE are properties on the planning element,
not children in the parse tree. Mapping over 'timestamp returns neither,
and does it silently. An agenda is mostly made of those two. The tests pin
it with a fixture carrying no body timestamp.
Diffstat (limited to 'modules/font-profiles.el')
0 files changed, 0 insertions, 0 deletions
