aboutsummaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-12-02 07:55:21 -0600
committerCraig Jennings <c@cjennings.net>2025-12-02 07:55:21 -0600
commit0f6ebba4ac9a6ff2d0c5da8182ae7fa4803cc14e (patch)
tree09fc01b042753f9d3ae975844debc44fc2b6759a /init.el
parent6fcbae0f496b13e873756092fbcc147c1480e7e1 (diff)
downloaddotemacs-0f6ebba4ac9a6ff2d0c5da8182ae7fa4803cc14e.tar.gz
dotemacs-0f6ebba4ac9a6ff2d0c5da8182ae7fa4803cc14e.zip
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.
Diffstat (limited to 'init.el')
-rw-r--r--init.el12
1 files changed, 8 insertions, 4 deletions
diff --git a/init.el b/init.el
index a4e18719..84ba173a 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 "***REMOVED***")
+;; Calendar sync (one-way: Google/Proton → Org)
+(setq calendar-sync-calendars
+ `((:name "google"
+ :url "***REMOVED***"
+ :file ,gcal-file)
+ (:name "proton"
+ :url "***REMOVED***"
+ :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