emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] iCal-Export: Strange Results


From: G. Martin Butz
Subject: Re: [O] iCal-Export: Strange Results
Date: Fri, 21 Mar 2014 13:22:07 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20131104 Icedove/17.0.10

Hi Bastien,

thanks for getting back to this. Meanwhile I can live with exporting the whole agenda to ics.

Am 21.03.2014 09:03, schrieb Bastien:
Hi,

"G. Martin Butz" <address@hidden> writes:

While importing and viewing one of my org files, I do get strange results:

+ I only see dates from DONE-entries
+ There might be e.g. an entry in the ical file/Iceowl dated to
   09:57, 2nd of December 2013
+ The body of the calendar entry in ical file/Iceowl contains:
   • State "DONE" from "TODO" [2013-12-02 Mo 09:57] meaning
   the entry is dated to the date and time I set the entry to "DONE"
+ I do not see any active TODO-entries at all

I checked with the file I tested in February with. I now do get active TODO-entries. No idea what I changed meanwhile. But I also get entries for the DONE-state, which I do not want.

we would need a minimal example of the .org file you try to export to
iCalendar in order to reproduce those problems.  Probably some come
from the export options you are using, independantly of the iCal
export backend.

This is my test file:

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

I get the following ics-file with C-c C-e c f:

----------------------------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:VEVENT
DTSTAMP:20140321T120206Z
UID:SC-d092bad5-6559-405f-8afd-a9515b372323
DTSTART:20140303T160000
DTEND:20140303T180000
SUMMARY:S: A Scheduled Event
CATEGORIES:TODO
END:VEVENT
BEGIN:VTODO
UID:TODO-d092bad5-6559-405f-8afd-a9515b372323
DTSTAMP:20140321T120206Z
DTSTART:20140303T160000
SUMMARY:A Scheduled Event
CATEGORIES:TODO
SEQUENCE:1
PRIORITY:5
STATUS:NEEDS-ACTION
END:VTODO
BEGIN:VEVENT
DTSTAMP:20140321T120206Z
UID:DL-53958c17-4a83-4150-8213-895a76bf4db1
DTSTART:20140313T100000
DTEND:20140313T120000
SUMMARY:DL: A Scheduled Event with Deadline
CATEGORIES:TODO
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20140321T120206Z
UID:SC-53958c17-4a83-4150-8213-895a76bf4db1
DTSTART:20140316T150000
DTEND:20140316T170000
SUMMARY:S: A Scheduled Event with Deadline
CATEGORIES:TODO
END:VEVENT
BEGIN:VTODO
UID:TODO-53958c17-4a83-4150-8213-895a76bf4db1
DTSTAMP:20140321T120206Z
DTSTART:20140316T150000
SUMMARY:A Scheduled Event with Deadline
CATEGORIES:TODO
SEQUENCE:1
PRIORITY:5
STATUS:NEEDS-ACTION
END:VTODO
BEGIN:VEVENT
DTSTAMP:20140321T120206Z
UID:SC-745d0dc5-0ebd-40cc-80fd-e06d1170fa44
DTSTART;VALUE=DATE:20140224
DTEND;VALUE=DATE:20140225
SUMMARY:S: A Scheduled Event Already Done
CATEGORIES:DONE
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20140321T120206Z
UID:TS1-745d0dc5-0ebd-40cc-80fd-e06d1170fa44
DTSTART:20140227T091400
DTEND:20140227T111400
SUMMARY:A Scheduled Event Already Done
CATEGORIES:DONE
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20140321T120206Z
UID:SC-45b90294-7807-4aa0-a5a4-93a285be8624
DTSTART:20140207T150000
DTEND:20140207T170000
SUMMARY:S: Another Scheduled Event Already Done
CATEGORIES:DONE
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20140321T120206Z
UID:TS1-45b90294-7807-4aa0-a5a4-93a285be8624
DTSTART:20140227T092100
DTEND:20140227T112100
SUMMARY:Another Scheduled Event Already Done
CATEGORIES:DONE
END:VEVENT
END:VCALENDAR
----------------------------8<-----------------------------

My settings at the time:
----------------------------8<-----------------------------
(setq org-combined-agenda-icalendar-file "~/org/ical/org.ics")
 (setq org-icalendar-combined-agenda-file "~/org/ical/org.ics")
 (setq org-icalendar-categories (quote (todo-state)))
 (setq org-icalendar-combined-name "OrgIcal")
 (setq org-icalendar-include-body nil)
 (setq org-icalendar-include-todo t)
 (setq org-icalendar-use-deadline (quote (event-if-todo)))
 (setq org-icalendar-store-UID t)
 (setq org-icalendar-use-plain-timestamp nil)
 (setq org-icalendar-use-scheduled nil)
 (setq org-icalendar-with-timestamps nil)
 (setq org-icalendar-use-scheduled '(todo-start event-if-todo))
----------------------------8<-----------------------------

Or maybe this got sorted out in the meantime, who knows.

See above: In a way yes.

Thanks for further information,

Thank you
Martin


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| G. Martin Butz, address@hidden, 0421 98749324, www.mkblog.org |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



reply via email to

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