* ical export: Still trying to clarify strange results
@ 2014-02-27 9:10 G. Martin Butz
0 siblings, 0 replies; only message in thread
From: G. Martin Butz @ 2014-02-27 9:10 UTC (permalink / raw)
To: Org Mode List
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 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-02-27 9:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-27 9:10 ical export: Still trying to clarify strange results G. Martin Butz
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).