org-gtd.el icon indicating copy to clipboard operation
org-gtd.el copied to clipboard

Double entry in Agenda view for calendar entry.

Open grizzz1y opened this issue 1 year ago • 3 comments

The agenda view picks up both the timestamps in the entry. The timestamp that is used for the org_gtd_timestamp in the calendar entry should be an inactive timestamp. That would prevent the double entry in the agenda view.

grizzz1y avatar Jan 19 '24 06:01 grizzz1y

same problem

Jousimies avatar Jan 20 '24 10:01 Jousimies

Would you both by chance be using doom emacs? If I recall correctly, there seems to be a configuration in there, or maybe a separate package, or.. Something.. That breaks this. If you're not using doom emacs, what is your org-mode / org-gtd configuration?

The duplicate timestamp should be ignored, see this particular configuration: https://github.com/Trevoke/org-gtd.el/blob/master/org-gtd-agenda.el#L64

The duplicate timestamps are unfortunately required for orgzly compatibility. See:

  • https://github.com/Trevoke/org-gtd.el/issues/118
  • https://github.com/Trevoke/org-gtd.el/blob/f82eb971db0008b773a57c207120751f913bde6b/test/calendar-test.el#L38

Trevoke avatar Jan 22 '24 02:01 Trevoke