From mboxrd@z Thu Jan 1 00:00:00 1970 From: "G. Martin Butz" Subject: Re: iCal-Export: Strange Results Date: Fri, 21 Mar 2014 13:22:07 +0100 Message-ID: <532C2EEF.2050301@mkblog.org> References: <53065AD7.7000102@mkblog.org> <8738icf05w.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQySo-0005Wr-Nm for emacs-orgmode@gnu.org; Fri, 21 Mar 2014 08:22:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQySi-0002dr-6c for emacs-orgmode@gnu.org; Fri, 21 Mar 2014 08:22:18 -0400 In-Reply-To: <8738icf05w.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: bzg@gnu.org 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" 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, mb@mkblog.org, 0421 98749324, www.mkblog.org | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~