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
    (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.

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

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

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-20 10:00 Cletip Cletip [this message]
2023-12-04 13:03 ` Inactive timestamp with TODO are exported in .ics file Ihor Radchenko

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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 \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).