From fac78a8fc92b27c37e678ee70824eb5f70ceee8b Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Tue, 2 Dec 2025 07:55:21 -0600 Subject: feat(calendar-sync): multi-calendar support with property tests Added multi-URL calendar sync supporting Google and Proton calendars. Each calendar syncs to separate file with per-calendar state tracking. Added 13 property-based tests for RRULE expansion. Total: 150 tests passing. --- init.el | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index 1f67b782..d39b659b 100644 --- a/init.el +++ b/init.el @@ -114,11 +114,15 @@ (require 'org-export-config) ;; (require 'org-gcal-config) ;; DISABLED: Replaced by calendar-sync.el (one-way sync) -;; Google Calendar sync (one-way: Google → Org) -(setq calendar-sync-ics-url "https://calendar.google.com/calendar/ical/craigmartinjennings%40gmail.com/private-1dad154d6a2100e755f76e2d0502f6aa/basic.ics") +;; Calendar sync (one-way: Google/Proton → Org) +(setq calendar-sync-calendars + `((:name "google" + :url "https://calendar.google.com/calendar/ical/craigmartinjennings%40gmail.com/private-1dad154d6a2100e755f76e2d0502f6aa/basic.ics" + :file ,gcal-file) + (:name "proton" + :url "https://calendar.proton.me/api/calendar/v1/url/MpLtuwsUNoygyA_60GvJE5cz0hbREbrAPBEJoWDRpFEstnmzmEMDb7sjLzkY8kbkF10A7Be3wGKB1-vqaLf-pw==/calendar.ics?CacheKey=LrB9NG5Vfqp5p2sy90H13g%3D%3D&PassphraseKey=sURqFfACPM21d6AXSeaEXYCruimvSb8t0ce1vuxRAXk%3D" + :file ,pcal-file))) (require 'calendar-sync) -;; Uncomment to enable auto-sync every 15 minutes: -;; (calendar-sync-start) (require 'org-refile-config) ;; refile org-branches (require 'org-roam-config) ;; personal knowledge management in org mode -- cgit v1.2.3