From mboxrd@z Thu Jan 1 00:00:00 1970 From: "MT" Subject: Bug: ical export of diary style sexps omits category and description [7.4] Date: Sat, 26 Feb 2011 20:14:59 +0100 Message-ID: <1298747699.10280.1424077833@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=48916 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PtPbb-0003Lt-Ia for emacs-orgmode@gnu.org; Sat, 26 Feb 2011 14:15:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PtPba-0006xq-B5 for emacs-orgmode@gnu.org; Sat, 26 Feb 2011 14:15:03 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:47420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PtPba-0006wt-5J for emacs-orgmode@gnu.org; Sat, 26 Feb 2011 14:15:02 -0500 Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 7C8D62095D for ; Sat, 26 Feb 2011 14:14:59 -0500 (EST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I've started using Org to export my agenda files into an iCalendar file. I've noticed that if the timestamp is written in Org's own format, the exported ical entry is as expected, but if the date and time is specified in the diary sexp format, such as for anniversaries and recurring events, some fields, such as DESCRIPTION and CATEGORIES are left out in the corresponding ical entry. It seems that the when a sexp is encountered, the resulting ical code is generated by the functions in icalendar.el, without any org-related extras in defined in org-icalendar.el added. This is not how it should be, is it? Here's an example: test.org: * Org style <2011-02-26 Sat> An event. * Diary style <%%(diary-anniversary 01 01 2000)> New year The two entries created in test.ics: BEGIN:VEVENT UID: TS-c7a29e46-3025-42a5-bce1-4f9712a2cd82 DTSTART;VALUE=DATE:20110226 DTEND;VALUE=DATE:20110227 SUMMARY:Org style DESCRIPTION: <2011-02-26 Sat> An event. CATEGORIES:test END:VEVENT BEGIN:VEVENT UID:emacs19817202502127461318 DTSTART;VALUE=DATE:20000101 DTEND;VALUE=DATE:20000102 RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=01;BYMONTHDAY=01 SUMMARY:Diary style END:VEVENT ----- Emacs : GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.21.6) of 2010-09-01 on rhenium, modified by Debian Package: Org-mode version 7.4 -- http://www.fastmail.fm - Faster than the air-speed velocity of an unladen european swallow