* iCal export and complex diary sexps
@ 2010-07-15 7:07 Sven Bretfeld
2010-07-15 19:31 ` Dan Griswold
0 siblings, 1 reply; 6+ messages in thread
From: Sven Bretfeld @ 2010-07-15 7:07 UTC (permalink / raw
To: emacs-org
Hi all
There was a thread about this some weeks ago. The iCal export does not
support org-diary-class entries or other complex diary sexps.
I want to ask if anybody has a workaround on this issue in the meantime.
For example, it could possibly be solved by an after-export-hook that
scans org-files for org-diary-class, converts the relevant entries to
the iCal format and appends them to the ics file.
Greetings,
Sven
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: iCal export and complex diary sexps
2010-07-15 7:07 iCal export and complex diary sexps Sven Bretfeld
@ 2010-07-15 19:31 ` Dan Griswold
2010-07-23 10:00 ` Sven Bretfeld
0 siblings, 1 reply; 6+ messages in thread
From: Dan Griswold @ 2010-07-15 19:31 UTC (permalink / raw
To: emacs-orgmode
On 15 Jul 2010, sven.bretfeld@gmx.ch wrote:
> There was a thread about this some weeks ago. The iCal export does not
> support org-diary-class entries or other complex diary sexps.
I missed that thread, but it's an issue I looked into some time ago,
with regard to sexps. The basic issue is that org-export-icalendar-*
calls icalendar.el, which currently does not support the export of
complex sexps.
In other words, it doesn't do much good for us to say that Org ought to
export these things to ical, because the feature is missing not from org
but from a completely different package.
I, too, wish the feature was available. But there's no point in
complaining here about it. I hope that Ulf Jasper (the author of
icalendar.el) is working on this problem. The package appears to
be in active development, but I can't confirm that.
So, assuming the best, others are working on what is truly not a trivial
problem. I looked at the ical specification, and it made my brain
hurt. It is very complex to program in a conversion of sexp to the ical
format. I'd rather that Carsten and others working actively on org-mode
not be distracted by a puzzle that is really not central to org's
functionality or purpose.
Perhaps org-explort-icalendar could (for the elisp savvy) easily support
org-diary-class, but at this stage, with the limitations of
icalendar.el, it would only be elementary support, because the function
appears to be a nifty way of specifying what (diary-block) does, but
without the option of "skip". To program in more than this gets us right
back to the fundamental problem, the lack of the needed feature in
icalendar.el.
> I want to ask if anybody has a workaround on this issue in the
> meantime. For example, it could possibly be solved by an
> after-export-hook that scans org-files for org-diary-class, converts
> the relevant entries to the iCal format and appends them to the ics
> file.
My way of handling this was to create a file with certain important
recurring events in ical format (these happen on the second Tuesday and
the second Thursday, those good sexp candidates). I have a function that
appends this file to the file icalendar-export-file creates, and have
all this tied in by a function called by after-save-hook. Something
similar, I'm sure, could be done for org-export-icalendar-*
--
--------------
Dan Griswold
Rochester, NY
--------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Re: iCal export and complex diary sexps
2010-07-15 19:31 ` Dan Griswold
@ 2010-07-23 10:00 ` Sven Bretfeld
2010-07-23 21:05 ` Daniel Martins
0 siblings, 1 reply; 6+ messages in thread
From: Sven Bretfeld @ 2010-07-23 10:00 UTC (permalink / raw
To: Dan Griswold; +Cc: emacs-orgmode
Hi Dan
Dan Griswold <dgriswol@rochester.rr.com> writes:
> On 15 Jul 2010, sven.bretfeld@gmx.ch wrote:
>
>> There was a thread about this some weeks ago. The iCal export does not
>> support org-diary-class entries or other complex diary sexps.
>
> I missed that thread, but it's an issue I looked into some time ago,
> with regard to sexps. The basic issue is that org-export-icalendar-*
> calls icalendar.el, which currently does not support the export of
> complex sexps.
> In other words, it doesn't do much good for us to say that Org ought to
> export these things to ical, because the feature is missing not from org
> but from a completely different package.
But it's strange that diary-sexps can explicitly switched on and of for
iCalendar export in customize. Why is that?
Greetings,
Sven
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Re: iCal export and complex diary sexps
2010-07-23 10:00 ` Sven Bretfeld
@ 2010-07-23 21:05 ` Daniel Martins
2010-08-07 6:55 ` Carsten Dominik
0 siblings, 1 reply; 6+ messages in thread
From: Daniel Martins @ 2010-07-23 21:05 UTC (permalink / raw
To: Sven Bretfeld; +Cc: Dan Griswold, emacs-orgmode
Exporting org-diary-class even ignoring the weeke off (last arguments)
for me it would be a fantastic start. It would be like converting
org-diary-class to a simple diary sexp.
I know it is dumb but in my case I would be glad to slit one
org-diary-class in several org-diary-class (before and after weeks
off) on order to have my appts exposted to ical.
Daniel
2010/7/23 Sven Bretfeld <sven.bretfeld@gmx.ch>:
> Hi Dan
>
> Dan Griswold <dgriswol@rochester.rr.com> writes:
>
>> On 15 Jul 2010, sven.bretfeld@gmx.ch wrote:
>>
>>> There was a thread about this some weeks ago. The iCal export does not
>>> support org-diary-class entries or other complex diary sexps.
>>
>> I missed that thread, but it's an issue I looked into some time ago,
>> with regard to sexps. The basic issue is that org-export-icalendar-*
>> calls icalendar.el, which currently does not support the export of
>> complex sexps.
>
>> In other words, it doesn't do much good for us to say that Org ought to
>> export these things to ical, because the feature is missing not from org
>> but from a completely different package.
>
> But it's strange that diary-sexps can explicitly switched on and of for
> iCalendar export in customize. Why is that?
>
> Greetings,
>
> Sven
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Re: iCal export and complex diary sexps
2010-07-23 21:05 ` Daniel Martins
@ 2010-08-07 6:55 ` Carsten Dominik
2010-08-08 14:35 ` Daniel Martins
0 siblings, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2010-08-07 6:55 UTC (permalink / raw
To: Daniel Martins; +Cc: Dan Griswold, emacs-orgmode
On Jul 23, 2010, at 11:05 PM, Daniel Martins wrote:
> Exporting org-diary-class even ignoring the weeke off (last arguments)
> for me it would be a fantastic start. It would be like converting
> org-diary-class to a simple diary sexp.
>
> I know it is dumb but in my case I would be glad to slit one
> org-diary-class in several org-diary-class (before and after weeks
> off) on order to have my appts exposted to ical.
You can simply add all the individual dates as separate time stamps,
that should
also work.
* My class
<2010-08-07 Sat>
<2010-08-14 Sat>
<2010-08-28 Sat>
- Carsten
>
> Daniel
>
> 2010/7/23 Sven Bretfeld <sven.bretfeld@gmx.ch>:
>> Hi Dan
>>
>> Dan Griswold <dgriswol@rochester.rr.com> writes:
>>
>>> On 15 Jul 2010, sven.bretfeld@gmx.ch wrote:
>>>
>>>> There was a thread about this some weeks ago. The iCal export
>>>> does not
>>>> support org-diary-class entries or other complex diary sexps.
>>>
>>> I missed that thread, but it's an issue I looked into some time ago,
>>> with regard to sexps. The basic issue is that org-export-icalendar-*
>>> calls icalendar.el, which currently does not support the export of
>>> complex sexps.
>>
>>> In other words, it doesn't do much good for us to say that Org
>>> ought to
>>> export these things to ical, because the feature is missing not
>>> from org
>>> but from a completely different package.
>>
>> But it's strange that diary-sexps can explicitly switched on and of
>> for
>> iCalendar export in customize. Why is that?
>>
>> Greetings,
>>
>> Sven
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Re: iCal export and complex diary sexps
2010-08-07 6:55 ` Carsten Dominik
@ 2010-08-08 14:35 ` Daniel Martins
0 siblings, 0 replies; 6+ messages in thread
From: Daniel Martins @ 2010-08-08 14:35 UTC (permalink / raw
To: Carsten Dominik; +Cc: Dan Griswold, emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 2332 bytes --]
It is a good alternative.
It would be better if we could generate a list of dates and timestamps by a
single command and/or using emacs calendar.
If this option is already possible please let me know.
Daniel
2010/8/7 Carsten Dominik <carsten.dominik@gmail.com>
>
> On Jul 23, 2010, at 11:05 PM, Daniel Martins wrote:
>
> Exporting org-diary-class even ignoring the weeke off (last arguments)
>> for me it would be a fantastic start. It would be like converting
>> org-diary-class to a simple diary sexp.
>>
>> I know it is dumb but in my case I would be glad to slit one
>> org-diary-class in several org-diary-class (before and after weeks
>> off) on order to have my appts exposted to ical.
>>
>
> You can simply add all the individual dates as separate time stamps, that
> should
> also work.
>
> * My class
> <2010-08-07 Sat>
> <2010-08-14 Sat>
> <2010-08-28 Sat>
>
>
> - Carsten
>
>
>
>> Daniel
>>
>> 2010/7/23 Sven Bretfeld <sven.bretfeld@gmx.ch>:
>>
>>> Hi Dan
>>>
>>> Dan Griswold <dgriswol@rochester.rr.com> writes:
>>>
>>> On 15 Jul 2010, sven.bretfeld@gmx.ch wrote:
>>>>
>>>> There was a thread about this some weeks ago. The iCal export does not
>>>>> support org-diary-class entries or other complex diary sexps.
>>>>>
>>>>
>>>> I missed that thread, but it's an issue I looked into some time ago,
>>>> with regard to sexps. The basic issue is that org-export-icalendar-*
>>>> calls icalendar.el, which currently does not support the export of
>>>> complex sexps.
>>>>
>>>
>>> In other words, it doesn't do much good for us to say that Org ought to
>>>> export these things to ical, because the feature is missing not from org
>>>> but from a completely different package.
>>>>
>>>
>>> But it's strange that diary-sexps can explicitly switched on and of for
>>> iCalendar export in customize. Why is that?
>>>
>>> Greetings,
>>>
>>> Sven
>>>
>>> _______________________________________________
>>> Emacs-orgmode mailing list
>>> Please use `Reply All' to send replies to the list.
>>> Emacs-orgmode@gnu.org
>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>>
>>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>
> - Carsten
>
>
>
>
[-- Attachment #1.2: Type: text/html, Size: 4199 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-08-08 17:34 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-15 7:07 iCal export and complex diary sexps Sven Bretfeld
2010-07-15 19:31 ` Dan Griswold
2010-07-23 10:00 ` Sven Bretfeld
2010-07-23 21:05 ` Daniel Martins
2010-08-07 6:55 ` Carsten Dominik
2010-08-08 14:35 ` Daniel Martins
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.