Comments (8)
The current behavior is that, when an event is deleted on the server, it has no effect on the org file. org-gcal-fetch
will retrieve events not currently in any Org file reachable via org-id-goto
and update any events that have already been retrieved, but won't delete events deleted on the server from the org file. You can manually delete the Org headlines corresponding to deleted events.
Perhaps it would be worth modifying org-gcal-sync-buffer
to prompt to delete headlines with deleted events.
from org-gcal.el.
I cannot confirm the original post. I just tried it with a repeating event which I setup in Google and then synched to my calendar file. When I deleted one of the events in Google calendar and then executed org-gcal-sync
the corresponding headline was deleted from my calendar file and from my agenda (after a manual refresh).
from org-gcal.el.
Hi @TobyHFerguson, are you using the most up-to-date version? I believe the behavior you observed is what would be expected before #34, but the current behavior is what @chughtapan observed.
from org-gcal.el.
Is there an option to revert to the old behavior of deleting events that have been removed from the server?
I use org-gcal to fetch a shared calendar, and it's a hassle for me to manually delete events that my coworkers have modified or removed.
Ever since I updated my version of org-gcal, my org-agenda calendar is now filled with duplicate and old events.
from org-gcal.el.
Agree with above, this should be a configurable option (how to handle events deleted from server). Especially with Google Calendar being something often modified on e.g. a phone, this would help keep things straight. As of right now I'm only trying to use emacs to display the calendar, so my modifications are made on the web or via mobile and this is really necessary.
from org-gcal.el.
Hi everyone, my life is getting busy at the moment, and will be until at least mid-January. If anyone wants to write a patch for this, I'd be more than willing to review it.
from org-gcal.el.
I'll try to take a stab at it but I've been out of the loop for some time now (wanting to get in again, but "life"...).
Happy to help driving it through while @telotortium is busy (thanks for the great job with the package!)
First I have to get my tokens working again anyway. :)
from org-gcal.el.
I hope this gets address sooner or later. Not having it fully sync with Google Calendar means org-gcal is not reliable. I never really know if the meeting I see in my Agenda is still relevant for the day. I would suggest that the new behavior would not only prompt the user to confirm every deletion, but also recognize whether it is repeating and delete the whole series. However if the event has been modified in Org then we might not want to delete it.
For now I'll have to delete the Org files and fetch to get a full copy of the calendar. Though that means any notes attached for the events will need to live somewhere else.
from org-gcal.el.
Related Issues (20)
- Not syncing (most) recurring events HOT 1
- Emacs prompts for "Username [for https://oauth2.googleapis.com/token]" HOT 2
- Adding Guests onto calendar?
- Private and public events
- > However, Emacs again asks me Buffer plstore /Users/till/.emacs.d/oauth2-auto.plist modified; kill anyway? (y or n) and then tells me deferred error : (epg-error "Encrypt failed" "Exit") HOT 9
- 'America/New_York timezone error
- Stuck at "Contacting host: oauth2.googleapis.com:443" HOT 18
- Required parameter is missing: response_type HOT 4
- error_description Invalid code verifier
- Process epg not running HOT 1
- deferred error : (error "oauth2-auto: Unknown provider: org-gcal") HOT 1
- error on sync `apply: Cannot open load file: No such file or directory, <org_directory>/issue.el` HOT 1
- README didn't work for me `add-to-list 'plstore-ecrypt-to`
- No suitable browser found for URL HOT 1
- deferred error : (error "Got error 403: (error http 403)") HOT 2
- org-mode 9.7 breaks org-gcal-sync HOT 4
- Please do not bundle oauth2-auto
- Incomplete calendar sync for single calendar
- Decrypt prompt disappears before I can type in the password
- Feature Request: Copy event from one calendar to another
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from org-gcal.el.