kidd / org-gcal.el

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

org-gcal-post-at-point does not include event description in :org-gcal: drawer #222

Open wrn opened 1 year ago

wrn commented 1 year ago

To reproduce:

  1. Create a TODO heading and add some description to it, and schedule it:
    * TODO An Event
    SCHEDULED: <2022-12-14 Wed 09:00>
    Location: student hall
  2. run org-gcal-post-at-point on the event.
  3. The "Location: ...." part is not included in the :org-gcal: drawer, hence not included in Google calendar either.
    * TODO An Event
    SCHEDULED: <2022-12-14 Wed 09:00>
    Location: student hall
    :PROPERTIES...  
    :org-gcal:
    :END:
telotortium commented 1 year ago

Location should be in the properties drawer. Try creating an event on Google Calendar and then use org-gcal-fetch to see an example of the right format.

wrn commented 1 year ago

Thanks for the tips on location. But I guess my point is not just about location. There can be arbitrary notes for an event that should be included in the event on Goggle calendar.

But on the other hand, I am not sure if moving the original org entry text into the :org-gcal: is always desirable. Ideally I would prefer my original org entry is not touched, but the info is still reflected in the Google calendar. It is kind of like how the "SCHEDULED: <2022-12-14 Wed 09:00>" is handled (that is, we do not add a timestamp in the org-gcal drawer, but the scheduling info is registered with Google calendar)