dengste / org-caldav

Caldav sync for Emacs orgmode
GNU General Public License v3.0
727 stars 105 forks source link

`org-caldav-delete-everything` doesn't work if you've configured calendars using `org-caldav-calendars` #112

Open eqyiel opened 7 years ago

eqyiel commented 7 years ago

I think the problem is actually with org-caldav-events-url which is called by org-caldav-get-event-etag-list.

For example, with this configuration it's returning "https://www.google.com/calendar/dav/abcde1234@group.calendar.google.com/events/".

(use-package org-caldav
  :after (org org-agenda)
  :config
  (setq
   org-caldav-calendars
   `((:calendar-id "org" ; name of calendar in nextcloud
      :inbox ,(concat eqyiel/org-directory "/org-caldav-inbox.org")
      :url "https://cloud.rkm.id.au/remote.php/dav/calendars/eqyiel"
      :files ,(org-agenda-files)
      :select-tags '("shared")))
   org-caldav-delete-org-entries 'ask
   org-caldav-save-directory (concat eqyiel/xdg-cache-home "/emacs")
   org-icalendar-include-todo t
   org-icalendar-timezone eqyiel/timezone
   org-icalendar-use-scheduled '(event-if-todo)))
grauschnabel commented 7 years ago

same here.

niclasborlin commented 6 years ago

Added a fix as pull request #155.

dschwilk commented 1 year ago

Still an issue.