Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incomplete calendar sync for single calendar #251

Open
cashpw opened this issue Jul 15, 2024 · 0 comments
Open

Incomplete calendar sync for single calendar #251

cashpw opened this issue Jul 15, 2024 · 0 comments

Comments

@cashpw
Copy link

cashpw commented Jul 15, 2024

Similar issue: #151.

Expected behavior

org-gcal-fech fetches all events.

Actual behavior

org-gcal-fech fetches 247/322 events and I need to re-run org-gcal-fetch to get the remainder.

My configuration

Also see my full Emacs configuration.

;; Set fetch-file-alist, etc to avoid warning messages.
...
(use-package! org-gcal
  :custom
  (plstore-cache-passphrase-for-symmetric-encryption t)
  (org-gcal-up-days 1)
  (org-gcal-down-days 8)
  (org-gcal-remove-cancelled-events t)
  (org-gcal-remove-events-with-cancelled-todo t)
  ;; See https://github.com/kidd/org-gcal.el/issues/172
  (org-gcal-auto-archive nil)
  (org-gcal-recurring-events-mode 'top-level)

  :config
  (org-gcal-reload-client-id-secret)
  ;; My own code to set :SCHEDULED:, effort, categories, etc
  (add-hook!
   'org-gcal-after-update-entry-functions
   ;; #'cashpw/org-gcal--set-effort
   #'cashpw/org-gcal--set-scheduled
   #'cashpw/org-gcal--set-category
   #'cashpw/org-gcal--maybe-create-todo-extract-reminder
   #'cashpw/org-gcal--maybe-handle-sleep
   #'cashpw/org-gcal--maybe-create-prep-meeting)
  (add-hook
   'org-gcal-after-update-entry-functions
   #'cashpw/org-gcal--set-processed
   ;; Add to end of list of functions
   100)
  (add-hook!
   'org-gcal-fetch-event-filters
   #'cashpw/org-gcal--filter-summaries
   #'cashpw/org-gcal--event-not-declined-by-me-p))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant