emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Inactive timestamp with TODO are exported in .ics file


From: Cletip Cletip
Subject: Inactive timestamp with TODO are exported in .ics file
Date: Mon, 20 Nov 2023 11:00:44 +0100

Hello to all,

I hope this message finds you well. I am writing to seek assistance with an issue I am facing regarding the org-icalendar export and agenda visibility in Emacs.

Despite setting (org-icalendar-with-timestamps 'active), I am facing an issue where the export includes items with the TODO state and inactive timestamp. Below are four examples illustrating this problem, with the code that I am using to try the export (copy and paste the code and the four events (in a file "Test.org" in /tmp/ for example), and execute the code to see that the "Tickler" is exported, despite it is an inactive timestamp) :

#+begin_src emacs-lisp

  (let ((org-agenda-files `(,(buffer-file-name)))
(org-icalendar-combined-agenda-file "/tmp/agenda.ics")

(org-icalendar-with-timestamps 'active)
(org-icalendar-include-todo nil) ;; nil to not clone scheduled TODO task
(org-icalendar-use-scheduled'(event-if-todo-not-done event-if-not-todo))
(org-icalendar-use-deadline '(event-if-not-todo event-if-todo-not-done))
)
    ;; here is the export
    (org-icalendar-combine-agenda-files)
    )

#+end_src

**** A simple appointment (exported)
:PROPERTIES:
:ID:       31ea3244-769b-4ead-80d5-1573f377de86
:END:

<2023-08-02 13:00-14:00>

**** TODO A tickler (TODO + scheduled + inactive timestamp) (not exported)
SCHEDULED:[2023-08-05 Sat 18:33]
:PROPERTIES:
:ID:       71fc9702-f479-4d36-ad6f-457892df6ab9
:END:

**** TODO A task that needs to be done and scheduled (exported)
SCHEDULED: <2023-08-03 Thu 13:00>
:PROPERTIES:
:ID:       3bccc447-85bb-4ef0-89f7-8ed6c6ff8891
:END:

**** TODO A task with a deadline (exported, two times)
SCHEDULED: <2023-08-01 Tue 13:00> DEADLINE: <2023-08-10 Thu 13:00>
:PROPERTIES:
:ID:       2d96d62e-5420-4443-be8d-a9456ea9551f
:END:

Why are the "tickler" exported, despite it is an inactive timestamp ?
Is the a solution to export appointment and the tasks, exclude the tickler ?

I appreciate any insights or suggestions the community can provide to help me address these issue ^^

Thank you for your time and assistance.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]