summaryrefslogtreecommitdiff
path: root/tests/test-calendar-sync-async-worker.el
Commit message (Collapse)AuthorAgeFilesLines
* fix(calendar-sync): give the no-init .ics worker its module load-pathCraig Jennings2026-05-111-0/+23
| | | | The async .ics-to-Org worker runs `emacs --batch --no-site-file --no-site-lisp' and loads `calendar-sync.el' by absolute path, but that doesn't make its sibling `(require 'cj-org-text-lib)' resolvable, so the conversion died with "Cannot open load file: cj-org-text-lib". `calendar-sync--worker-command' now inserts `-L <module-dir>' before `-l calendar-sync.el', which keeps the worker isolated from `init.el' while letting it load its local module deps. Updated the worker-command test and added a regression test that runs the real no-init worker shape.
* Keep calendar sync off the UI threadCraig Jennings2026-05-101-0/+154
Move calendar feed conversion into an isolated batch Emacs worker so large parse/write cycles do not freeze interactive editing. Cover the worker command, isolated logging, quoted settings, and sync success/failure paths with focused ERTs.