emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Cletip Cletip <clement020302@gmail.com>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: Inactive timestamp with TODO are exported in .ics file
Date: Mon, 20 Nov 2023 11:00:44 +0100	[thread overview]
Message-ID: <CAPHku6OmR-YP0C6D0rCTV2YL8ddaVbmNvgz3dAZZ+1Te4GZ+_A@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2049 bytes --]

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


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

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

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

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

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

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.

[-- Attachment #2: Type: text/html, Size: 2337 bytes --]

                 reply	other threads:[~2023-11-20 10:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPHku6OmR-YP0C6D0rCTV2YL8ddaVbmNvgz3dAZZ+1Te4GZ+_A@mail.gmail.com \
    --to=clement020302@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).