emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Diary integration in .ics export ?
@ 2007-02-10  5:23 Bastien
  2007-02-10 13:14 ` Pete Phillips
  2007-02-11  6:25 ` Carsten Dominik
  0 siblings, 2 replies; 5+ messages in thread
From: Bastien @ 2007-02-10  5:23 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Diary integration in .ics export ?
  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
  1 sibling, 0 replies; 5+ messages in thread
From: Pete Phillips @ 2007-02-10 13:14 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

>>>>> "Bastien" == Bastien  <bzg@altern.org> writes:
    Bastien> Anyway, optionnal diary integration in the .ics export
    Bastien> would really come in handy.  Let me know if i can help on
    Bastien> this.

Yep - I agree. That would be a great option.
Pete

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Diary integration in .ics export ?
  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
  2007-02-12 19:11   ` Bastien
  1 sibling, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2007-02-11  6:25 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Diary integration in .ics export ?
  2007-02-11  6:25 ` Carsten Dominik
@ 2007-02-12 19:11   ` Bastien
  2007-02-12 19:32     ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Bastien @ 2007-02-12 19:11 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <dominik@science.uva.nl> writes:

> 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.

All right, i'll try to find the easiest way using both icalendar.el
and org.el -- BTW i wasn't aware icalendar.el was part of Emacs and
thought the code was a bit outdated.

Regards,

-- 
Bastien

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Diary integration in .ics export ?
  2007-02-12 19:11   ` Bastien
@ 2007-02-12 19:32     ` Carsten Dominik
  0 siblings, 0 replies; 5+ messages in thread
From: Carsten Dominik @ 2007-02-12 19:32 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

I did not look at the code at all, so I have no opinion on it.

If it really is outdated, you could just write yoour own parser, 
probably not too hard.

- Carsten

On Feb 12, 2007, at 20:11, Bastien wrote:

> Carsten Dominik <dominik@science.uva.nl> writes:
>
>> 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.
>
> All right, i'll try to find the easiest way using both icalendar.el
> and org.el -- BTW i wasn't aware icalendar.el was part of Emacs and
> thought the code was a bit outdated.
>
> Regards,
>
> -- 
> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-02-12 19:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2007-02-12 19:11   ` Bastien
2007-02-12 19:32     ` Carsten Dominik

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).