From: "G. Martin Butz" <mb@mkblog.org>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: ical export: Still trying to clarify strange results
Date: Thu, 27 Feb 2014 10:10:14 +0100 [thread overview]
Message-ID: <530F00F6.60503@mkblog.org> (raw)
Hi,
I am turning again to the list, because after some extensive testing,
reading the manual and googeling I am still not able to configurate the
ical export the way I expect it to be. Sorry for the long post and sorry
for bothering the list again, but I am hoping that someone might be able
to help.
What I want is:
+ Export all TODO items with the beginning date set to the scheduled
date in org mode.
+ Export also the deadlines in case of TODO items
+ If possible: Do not export DONE items at all
The resulting ical file I get displays:
+ For TODO entries DTSTART set to the timestamp an hour later (not to
/scheduled/ date)
+ Deadlined items are included; the deadline is corre, the TODO date
also set to the timestamp an hour later
+ state changes of entries (set to DONE) as DTSTART entry; as these are
DONE I expected they would be skiped because of org-icalendar-
include-todo set to /t/.
Obviously the date in SCHEDULED is not recognized. Did I miss the
relevant variable to set (see my configuration below)?
I also tried to supress any logging of the change of TODO entries (which
would not really solve my problem but seemed to me a way to clear the
export from the state changes); in the emacs customization group
/org-todo/ it is being said that /org-log-done/ set to /nil/ means
"Don't add anything, just change the keyword", which does not work for
me. Also the inbuffer setting /#+STARTUP: nologdone/ does not have any
effect.
This is my testfile to export to ical:
--------------------------8<------------------------------------------
#+STARTUP:nologdone
* TODO A Scheduled Event
SCHEDULED: <2014-03-03 Mo 16:00>
:PROPERTIES:
:ID: d092bad5-6559-405f-8afd-a9515b372323
:END:
* TODO A Scheduled Event with Deadline
DEADLINE: <2014-03-13 Do 10:00> SCHEDULED: <2014-03-16 So 15:00>
:PROPERTIES:
:ID: 53958c17-4a83-4150-8213-895a76bf4db1
:END:
* DONE A Scheduled Event Already Done
SCHEDULED: <2014-02-24 Mo>
- State "DONE" from "TODO" [2014-02-27 Do 09:14]
:PROPERTIES:
:ID: 745d0dc5-0ebd-40cc-80fd-e06d1170fa44
:END:
* DONE Another Scheduled Event Already Done
SCHEDULED: <2014-02-07 Fr 15:00>
- State "DONE" from "TODO" [2014-02-27 Do 09:21]
:PROPERTIES:
:ID: 45b90294-7807-4aa0-a5a4-93a285be8624
:END:
--------------------------8<------------------------------------------
This is the ical export:
--------------------------8<------------------------------------------
BEGIN:VCALENDAR
VERSION:2.0
X-WR-CALNAME:test
PRODID:-//G. Martin Butz//Emacs with Org mode//EN
X-WR-TIMEZONE:CET
X-WR-CALDESC:test
CALSCALE:GREGORIAN
BEGIN:VTODO
UID:TODO-d092bad5-6559-405f-8afd-a9515b372323
DTSTAMP:20140227T082604Z
DTSTART:20140227T092600
SUMMARY:A Scheduled Event
CATEGORIES:TODO
SEQUENCE:1
PRIORITY:5
STATUS:NEEDS-ACTION
END:VTODO
BEGIN:VEVENT
DTSTAMP:20140227T082604Z
UID:DL-53958c17-4a83-4150-8213-895a76bf4db1
DTSTART:20140313T100000
DTEND:20140313T120000
SUMMARY:DL: A Scheduled Event with Deadline
CATEGORIES:TODO
END:VEVENT
BEGIN:VTODO
UID:TODO-53958c17-4a83-4150-8213-895a76bf4db1
DTSTAMP:20140227T082604Z
DTSTART:20140227T092600
SUMMARY:A Scheduled Event with Deadline
CATEGORIES:TODO
SEQUENCE:1
PRIORITY:5
STATUS:NEEDS-ACTION
END:VTODO
BEGIN:VEVENT
DTSTAMP:20140227T082604Z
UID:TS1-745d0dc5-0ebd-40cc-80fd-e06d1170fa44
DTSTART:20140227T091400
DTEND:20140227T111400
SUMMARY:A Scheduled Event Already Done
CATEGORIES:DONE
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20140227T082604Z
UID:TS1-45b90294-7807-4aa0-a5a4-93a285be8624
DTSTART:20140227T092100
DTEND:20140227T112100
SUMMARY:Another Scheduled Event Already Done
CATEGORIES:DONE
END:VEVENT
END:VCALENDAR
--------------------------8<------------------------------------------
And this is my config via /.custom/ as far as org-mode and ical-export
are concerned (I tripple checked: no other customizations concerning the
issue is involved):
--------------------------8<------------------------------------------
(custom-set-variables
'(org-combined-agenda-icalendar-file "~/org/ical/org.ics")
'(org-icalendar-categories (quote (todo-state)))
'(org-icalendar-combined-name "OrgIcal")
'(org-icalendar-include-body nil)
'(org-icalendar-include-todo t)
'(org-icalendar-use-deadline (quote (event-if-todo)))
'(org-icalendar-store-UID t)
'(org-icalendar-use-plain-timestamp nil)
'(org-icalendar-use-scheduled nil)
'(org-icalendar-with-timestamps nil)
'(org-log-done nil))
--------------------------8<------------------------------------------
Maybe I am doing something terribly wrong. I would appreciate any hint
to solve the problem or to do some more investigation.
Thanks
Martin
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| G. Martin Butz, mb@mkblog.org, 0421 98749324, www.mkblog.org |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reply other threads:[~2014-02-27 9:10 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:
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=530F00F6.60503@mkblog.org \
--to=mb@mkblog.org \
--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).