-
Notifications
You must be signed in to change notification settings - Fork 47
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
org-gcal-delete-at-point removed original event information in org file #169
Comments
That is a good idea. If you have the ability to open a pull request, that
would be great. There's probably some code that assumes that the presence
of the drawer indicates an event managed by org-gcal, so you would have to
find that code and change it to use something else, like a property.
…On Tue, Oct 19, 2021, 13:29 wrn ***@***.***> wrote:
After I invoke org-gcal-delete-at-point , the headline state is marked as
"CANCELED" just as I configured and expected (good!), but the original
scheduling information in ":org-gcal:" drawer is removed (actually, the
whole drawer is gone). I think most likely the reason people want to keep
the headline (and marked it as "CANCELED") after it is deleted from the
Google calendar is because they still want to preserve the event
information. So can we change this behavior and keep the :org-gcal: drawer?
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#169>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANMVDMNVYD3JBFDDBVCLODUHXILHANCNFSM5GKAUO4A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Thanks for endorsing the idea. I am not sure my elisp skill is up to the task, but I may give it a try later. Just do not count on it. :-) |
I came back to this again. What I did in my own local version of org-gcal is when deleting an event, change the "org-gcal" drawer name to "org-gcal-relic". I dare not just keep it as it is because the code comments says this drawer was deleted so it won't confuse other part of the code, so I choose to just to use another drawer name. A snippet of my code in function "org-gcal-delete-at-point"
|
After I invoke org-gcal-delete-at-point , the headline state is marked as "CANCELED" just as I configured and expected (good!), but the original scheduling information in ":org-gcal:" drawer is removed (actually, the whole drawer is gone). I think most likely the reason people want to keep the headline (and marked it as "CANCELED") after it is deleted from the Google calendar is because they still want to preserve the event information. So can we change this behavior and keep the :org-gcal: drawer? Thanks.
The text was updated successfully, but these errors were encountered: