From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Recurring events with ranges broken Date: Fri, 15 Apr 2011 12:29:06 +0200 Message-ID: <058C4354-BE4E-4279-84F0-BABEB3A28000@gmail.com> References: <83aafxjj5a.fsf@yahoo.it> <8762qgp64w.fsf@fastmail.fm> Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:48253) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAgH1-0007fN-L3 for emacs-orgmode@gnu.org; Fri, 15 Apr 2011 06:29:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QAgH0-0006Ob-PS for emacs-orgmode@gnu.org; Fri, 15 Apr 2011 06:29:11 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:47562) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAgH0-0006OW-JS for emacs-orgmode@gnu.org; Fri, 15 Apr 2011 06:29:10 -0400 Received: by eyd9 with SMTP id 9so800151eyd.0 for ; Fri, 15 Apr 2011 03:29:09 -0700 (PDT) In-Reply-To: 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: "Philipp M." Cc: Matt Lundin , emacs-orgmode@gnu.org On Apr 15, 2011, at 12:07 PM, Philipp M. wrote: > On 15 April 2011 05:04, Matt Lundin wrote: > "Philipp M." writes: >=20 > > 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. >=20 > The following works fine for me here: >=20 > * My classes > %%(org-diary-class 2 20 2011 5 30 2011 4) 9:00am-10:00am Emacs 101 >=20 >=20 > 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. HTH - Carsten=