emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: "Philipp M." <bootsarehax@googlemail.com>
Cc: Matt Lundin <mdl@imapmail.org>, emacs-orgmode@gnu.org
Subject: Re: Recurring events with ranges broken
Date: Fri, 15 Apr 2011 12:29:06 +0200	[thread overview]
Message-ID: <058C4354-BE4E-4279-84F0-BABEB3A28000@gmail.com> (raw)
In-Reply-To: <BANLkTimxQRBY0cqK_1G86Tf6o5Hn4X5RzA@mail.gmail.com>


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

> On 15 April 2011 05:04, Matt Lundin <mdl@imapmail.org> wrote:
> "Philipp M." <bootsarehax@googlemail.com> 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.


HTH

- Carsten

      reply	other threads:[~2011-04-15 10:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07  8:30 Recurring events with ranges broken Philipp M.
2011-04-11  8:18 ` Giovanni Ridolfi
2011-04-11  9:28   ` Radosław Grzanka
2011-04-13  9:35   ` Philipp M.
2011-04-13 12:52     ` Carsten Dominik
2011-04-15  3:04     ` Matt Lundin
2011-04-15 10:07       ` Philipp M.
2011-04-15 10:29         ` Carsten Dominik [this message]

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=058C4354-BE4E-4279-84F0-BABEB3A28000@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=bootsarehax@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mdl@imapmail.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).