diff options
| author | Craig Jennings <c@cjennings.net> | 2025-12-02 07:55:21 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-12-02 07:55:21 -0600 |
| commit | edd3f1b447d663a43e04e3857634b38ec9ee7832 (patch) | |
| tree | ec425e2da8b6fc0043ba8a866fd81afe1390c6e9 /init.el | |
| parent | 2eb854c58b19f584685903b81260a29884e869e4 (diff) | |
| download | dotemacs-edd3f1b447d663a43e04e3857634b38ec9ee7832.tar.gz dotemacs-edd3f1b447d663a43e04e3857634b38ec9ee7832.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.el | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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 |
