emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Diary integration in .ics export ?
Date: Sun, 11 Feb 2007 07:25:03 +0100	[thread overview]
Message-ID: <0b6d67dd1d044ffd14e2833cd524224c@science.uva.nl> (raw)
In-Reply-To: <87hctulh6j.fsf@tallis.ens.fr>

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

  parent reply	other threads:[~2007-02-11  6:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-10  5:23 Diary integration in .ics export ? Bastien
2007-02-10 13:14 ` Pete Phillips
2007-02-11  6:25 ` Carsten Dominik [this message]
2007-02-12 19:11   ` Bastien
2007-02-12 19:32     ` Carsten Dominik

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=0b6d67dd1d044ffd14e2833cd524224c@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=bzg@altern.org \
    --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).