[Top][All Lists]

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

Re: [O] Recurring events with ranges broken

From: Carsten Dominik
Subject: Re: [O] Recurring events with ranges broken
Date: Fri, 15 Apr 2011 12:29:06 +0200

On Apr 15, 2011, at 12:07 PM, Philipp M. wrote:

> On 15 April 2011 05:04, Matt Lundin <address@hidden> wrote:
> "Philipp M." <address@hidden> writes:
> > It would be the proper way to set up timetables for a semester.
> > The workaround I use is mentioned in the FAQ http://orgmode.org/worg/
> > org-faq.html#org-diary-class
> > Unfortunately the FAQ doesn't state that putting the time in the
> > heading is the only way to get the time into the agenda and that all
> > other attempts you might expect to do what you want break silently.
> The following works fine for me here:
> * My classes
> %%(org-diary-class 2 20 2011 5 30 2011 4) 9:00am-10:00am Emacs 101
> This works fine for the agenda but still fails to be exported properly as an 
> iCalendar, which is my main problem.

One way to address this would be to modify icalendar.el to make
it understand org-diary-class.  Start with a function like
calendar--convert-cyclic-to-ical and modify it to
read and convert org-diary-class entries as well.

icalendar.el should really have hooks to allow other functions
to be plugged into it, but it does not.  So you can just amend
one of its functions and define that after you loaded
icalendar.el, or use advice.

Another way would of cause be to put functionality into
org-icalendar to search for and convert such entries.


- Carsten

reply via email to

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