kidd / org-gcal.el

Org sync with Google Calendar. (active maintained project as of 2019-11-06)
432 stars 47 forks source link

Private and public events #235

Open lilactown opened 1 year ago

lilactown commented 1 year ago

I would like to be able to mark events in Google Calendar as private (i.e. only people who have been invited can see the name and other details of the event) via org-gcal-post-at-point.

My first thought is that this could be implemented by adding a property org-gcal-visibility to tasks that could be either public, private or nil which would match the default the calendar that is being posted to has, and org-gcal-post-at-point would set that in gcal when observed.

Synchronizing this attribute would also be useful, i.e. I can pull events and see which ones are public/private.

I also wonder if there's a way to do this automatically for tasks within a file or heading, e.g. via tag, but property seems to match the way that org-gcal stores other information about scheduled tasks that are synced.