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

Syncing when the inbox buffer is read-only leads to unhelpful error:inbox-notfound #307

Open
nick4f42 opened this issue Aug 26, 2024 · 0 comments

Comments

@nick4f42
Copy link

If org-caldav-inbox is opened as a buffer with buffer-read-only enabled, org-caldav-sync fails with:

== Sync errors: 

UID: xxxxx
   Title: (Could not find UID)
   Status: error  Action: error:inbox-notfound

It requires looking through the source to find the true issue that the buffer is read-only.

Since I use (setopt org-caldav-sync-direction 'cal->org), I set my inbox to read-only with a dir-local variable so I don't accidentally make changes. I would prefer org-caldav to inhibit read-only mode rather than erroring, but at least a helpful error message would be nice.

Thanks for your work on this package.

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