emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "MT" <mt_void@warpmail.net>
To: emacs-orgmode@gnu.org
Subject: Bug: ical export of diary style sexps omits category and description [7.4]
Date: Sat, 26 Feb 2011 20:14:59 +0100	[thread overview]
Message-ID: <1298747699.10280.1424077833@webmail.messagingengine.com> (raw)

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

                 reply	other threads:[~2011-02-26 19:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1298747699.10280.1424077833@webmail.messagingengine.com \
    --to=mt_void@warpmail.net \
    --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).