aboutsummaryrefslogtreecommitdiff
path: root/tests/test-org-agenda-config--auto-refresh.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-31 09:39:11 -0500
committerCraig Jennings <c@cjennings.net>2026-07-31 09:39:11 -0500
commit55e980fe28112e636a6d3165979f161d1a6038ab (patch)
treedc0e656b9c2b15dcaf1b8ab540f82a9829fb5be0 /tests/test-org-agenda-config--auto-refresh.el
parent00f44f46f65a96bb84271faa7f4ed7965fc44d5e (diff)
downloaddotemacs-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 'tests/test-org-agenda-config--auto-refresh.el')
0 files changed, 0 insertions, 0 deletions