emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "G. Martin Butz" <mb@mkblog.org>
To: emacs-orgmode@gnu.org
Cc: bzg@gnu.org
Subject: Re: iCal-Export: Strange Results
Date: Fri, 21 Mar 2014 13:22:07 +0100	[thread overview]
Message-ID: <532C2EEF.2050301@mkblog.org> (raw)
In-Reply-To: <8738icf05w.fsf@bzg.ath.cx>

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" <mb@mkblog.org> 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 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  reply	other threads:[~2014-03-21 12:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-20 19:43 iCal-Export: Strange Results G. Martin Butz
2014-03-21  8:03 ` Bastien
2014-03-21 12:22   ` G. Martin Butz [this message]
2014-03-21 12:25     ` Bastien
2014-03-21 13:17       ` G. Martin Butz

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=532C2EEF.2050301@mkblog.org \
    --to=mb@mkblog.org \
    --cc=bzg@gnu.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).