aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-11-01 22:45:34 -0500
committerCraig Jennings <c@cjennings.net>2025-11-01 22:45:34 -0500
commit66e8845cd93562074d03ab4826d59524a3f34cb5 (patch)
treecc6e353c6be3495f419cf28372564eaf037eff54 /modules
parent7e5c4cda4fc8f7954d26f8c633b8a2d41740eff1 (diff)
downloaddotemacs-66e8845cd93562074d03ab4826d59524a3f34cb5.tar.gz
dotemacs-66e8845cd93562074d03ab4826d59524a3f34cb5.zip
fix: Change org-gcal to use Google Calendar as authoritative source
Changed from bidirectional "org" mode to "gcal" mode to avoid sync conflicts. This prevents HTTP 412 errors on recurring events and HTTP 400 errors on modified events. Google Calendar is now authoritative: - org-gcal-managed-newly-fetched-mode: "gcal" (was "org") - org-gcal-managed-update-existing-mode: "gcal" (was "org") Benefits: - No more version conflicts on recurring events - Cleaner sync without errors - Google Calendar changes always win
Diffstat (limited to 'modules')
-rw-r--r--modules/org-gcal-config.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/org-gcal-config.el b/modules/org-gcal-config.el
index db7b1ec7..dc083efe 100644
--- a/modules/org-gcal-config.el
+++ b/modules/org-gcal-config.el
@@ -104,9 +104,9 @@ enabling bidirectional sync so changes push back to Google Calendar."
(setq org-gcal-remove-api-cancelled-events t) ;; auto-remove cancelled events
(setq org-gcal-update-cancelled-events-with-todo t) ;; todo cancelled events for visibility
- ;; Enable bidirectional sync - treat events as Org-managed so changes push back
- (setq org-gcal-managed-newly-fetched-mode "org") ;; New events from GCal are Org-managed
- (setq org-gcal-managed-update-existing-mode "org") ;; Existing events become Org-managed
+ ;; Google Calendar is authoritative - avoids sync conflicts
+ (setq org-gcal-managed-newly-fetched-mode "gcal") ;; New events from GCal stay GCal-managed
+ (setq org-gcal-managed-update-existing-mode "gcal") ;; GCal wins on conflicts
:config
;; Enable plstore passphrase caching after org-gcal loads