From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Diary integration in .ics export ? Date: Sun, 11 Feb 2007 07:25:03 +0100 Message-ID: <0b6d67dd1d044ffd14e2833cd524224c@science.uva.nl> References: <87hctulh6j.fsf@tallis.ens.fr> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HG892-0006Zz-UX for emacs-orgmode@gnu.org; Sun, 11 Feb 2007 01:25:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HG891-0006Zn-F9 for emacs-orgmode@gnu.org; Sun, 11 Feb 2007 01:25:03 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HG891-0006Zk-AS for emacs-orgmode@gnu.org; Sun, 11 Feb 2007 01:25:03 -0500 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HG890-0006Sc-U5 for emacs-orgmode@gnu.org; Sun, 11 Feb 2007 01:25:03 -0500 In-Reply-To: <87hctulh6j.fsf@tallis.ens.fr> 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: Bastien Cc: emacs-orgmode@gnu.org org.el does not really contain any code that can be used for this. All it does is using the calendar/diary functions to list the entries for specific days in the agenda. To create an icalendar export of the diary, a separate parser for the diary is needed, and it could be run completely independent of org-mode. Have you looked at icalendar.el which is part of Emacs? From the documentation I would think that `icalendar-export-file' does this. Of course we could make the org-mode exporting functions call this. Seems like we would end up with two files rather than one. I guess the files could be merged by stripping the header and footer in one and inserting it into another. Bastien, if you want to write something doing this, please go ahead. For now it could simply link into `org-after-save-iCalendar-file-hook', but if necessary I will provide a better hook. - Carsten On Feb 10, 2007, at 6:23, Bastien wrote: > Hi Carsten, > > I use Org for project-related appointments, but i keep using my .diary > for at least three things: > > 1. "standalone" appointments > 2. recurring appointments > 3. alerts with (appt-activate) > > For 1. and 2. it would be nice if appointments were part of the .ics > export. For 3. it would require making scheduled events in org part > of the diary (org-insinuate-diary ?) so that the appt interface can > fetch and display them correctly -- but i'm skeptical on this one. > > Anyway, optionnal diary integration in the .ics export would really > come in handy. Let me know if i can help on this. > > -- > Bastien > > > _______________________________________________ > Emacs-orgmode mailing list > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477