diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-11 14:54:16 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-11 14:54:16 -0500 |
| commit | e0ec096088a058e3d88e12a1b7a49ee74297bc78 (patch) | |
| tree | 90bb1eb053869c5419228cf0914d7fec733fd328 | |
| parent | 6b8918b4cc44dc39e70a5544e8286eb781a97ccc (diff) | |
| download | chime-e0ec096088a058e3d88e12a1b7a49ee74297bc78.tar.gz chime-e0ec096088a058e3d88e12a1b7a49ee74297bc78.zip | |
fix: skip unavailable agenda files in the async fetch child
A vanished org-agenda-files entry hit org's interactive "[R]emove from list or [A]bort?" recovery prompt inside the -batch child, which blocked forever. The overlap guard then turned every subsequent check into a silent no-op and the modeline froze on a stale countdown. org-agenda-skip-unavailable-files makes org skip the missing file with a message instead.
| -rw-r--r-- | chime.el | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1704,6 +1704,11 @@ list of internal event alists." `(lambda () (setf org-agenda-use-time-grid nil) (setf org-agenda-compact-blocks t) + ;; A vanished agenda file must be skipped, not prompted about: org's + ;; interactive "[R]emove from list or [A]bort?" recovery blocks a + ;; -batch child forever, and a child that never returns freezes every + ;; subsequent check via the overlap guard in chime--fetch-and-process. + (setf org-agenda-skip-unavailable-files t) ,(async-inject-variables (chime--environment-regex)) (package-initialize) |
