aboutsummaryrefslogtreecommitdiff
path: root/tests/test-coverage-core--changed-lines.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-29 19:46:28 -0400
committerCraig Jennings <c@cjennings.net>2026-06-29 19:46:28 -0400
commit8351ccf643a0bf2701ad4fc55e4e24ef02ff1bc6 (patch)
tree95798122d3c41b30847ccd8f686fb9030b1d7f0f /tests/test-coverage-core--changed-lines.el
parent839874c81cdaa530217d517a646a9b83f1a38330 (diff)
downloaddotemacs-8351ccf643a0bf2701ad4fc55e4e24ef02ff1bc6.tar.gz
dotemacs-8351ccf643a0bf2701ad4fc55e4e24ef02ff1bc6.zip
refactor(calendar-sync): defer auto-start until first agenda use
calendar-sync ran calendar-sync-start at load, which syncs immediately and then every interval. Every configured calendar resolves its .ics feed URL from a :secret-host in authinfo.gpg, so both the immediate sync and each timer tick decrypt authinfo.gpg. On a cold gpg-agent (after a reboot) that surfaced as a GPG passphrase prompt right after startup, before I'd asked for anything needing a secret. I deferred the whole start, immediate sync and recurring timer alike, to the first org-agenda use via a one-shot org-agenda-mode-hook. The unlock now happens when I actually open the agenda. A manual calendar-sync-start or calendar-sync-now still works on demand.
Diffstat (limited to 'tests/test-coverage-core--changed-lines.el')
0 files changed, 0 insertions, 0 deletions