From mboxrd@z Thu Jan 1 00:00:00 1970 From: "cschr" Subject: Org Agenda and recurring icalendar events Date: Fri, 30 Sep 2016 10:54:44 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01D21B09.0FECABB0" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bptdJ-0005Xl-UK for emacs-orgmode@gnu.org; Fri, 30 Sep 2016 04:57:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bptdF-0006sJ-EH for emacs-orgmode@gnu.org; Fri, 30 Sep 2016 04:57:29 -0400 Received: from mout1.freenet.de ([2001:748:100:40::2:3]:53470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bptdF-0006qr-4G for emacs-orgmode@gnu.org; Fri, 30 Sep 2016 04:57:25 -0400 Received: from [195.4.92.141] (helo=mjail1.freenet.de) by mout1.freenet.de with esmtpa (ID cschr@freenet.de) (port 25) (Exim 4.85 #1) id 1bptdA-0001RH-1U for emacs-orgmode@gnu.org; Fri, 30 Sep 2016 10:57:20 +0200 Received: from localhost ([::1]:59079 helo=mjail1.freenet.de) by mjail1.freenet.de with esmtpa (ID cschr@freenet.de) (Exim 4.85 #1) id 1bptd9-0005Ju-Th for emacs-orgmode@gnu.org; Fri, 30 Sep 2016 10:57:20 +0200 Received: from mx3.freenet.de ([195.4.92.13]:56803) by mjail1.freenet.de with esmtpa (ID cschr@freenet.de) (Exim 4.85 #1) id 1bptac-0003GD-VT for emacs-orgmode@gnu.org; Fri, 30 Sep 2016 10:54:42 +0200 Received: from adsl-84-226-247-201.adslplus.ch ([84.226.247.201]:60436 helo=PC2) by mx3.freenet.de with esmtpsa (ID cschr@freenet.de) (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (port 587) (Exim 4.85 #1) id 1bptac-0007OE-NA for emacs-orgmode@gnu.org; Fri, 30 Sep 2016 10:54:42 +0200 Content-Language: en-gb List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org This is a multipart message in MIME format. ------=_NextPart_000_0007_01D21B09.0FECABB0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello together =20 Im now running Emacs 25.1 with Org 8.3.5 on Windows. I love Emacs and Orgmode and I want to use it instead of Microsoft Office. But in order = to replace MS-Outlook calendar by Org Agenda, and in order to sync Org = Agenda with my Android phone, I would need all icalendar functionality, which = is used by MS-Outlook and by Android, implemented in Orgmode. Most urgently missing are recurrence features like RRULE, EXDATE, DTSTART, DTEND, etc, = and import and export of those from and to icalendar. The current implementation is only rudimentary. =20 Emacs diary is not suitable - import and export from and to icalendar = are also not working properly for most recurring events, and of course it = misses the Orgmode features. =20 My idea would be to introduce recurring icalendar elements like RRULE, EXDATE, DTSTART and DTEND as Org Properties, which would make importing = and exporting them straightforward, I guess. Main work would be to make = these dates show up in the Org Agenda properly. =20 Wonderful would be to have this functionality as an official part of = orgmode and maintained =20 A similar work was started in 2013 already: http://thread.gmane.org/gmane.emacs.orgmode/74391 =20 But that=92s all I was able to find on the web about this subject =96 it = seems no work is going on here - or does anybody know there is? =20 Im wondering if this idea is of interest to anybody else =96 to me this = is a real killer feature for using Org Agenda. =20 I had sent the below emails via bug-gnu-emacs, but there was no response = =96 was it the wrong place to send to ? =20 I don=92t have Emacs development knowledge. Is there any expert here = who could tell me if this is possible at all, whether this could become part = of official orgmode and how, and what could the effort be =96 is this a few weeks, or a few months, or much more work ? =20 Thank you so much =20 Kind regards Chris =20 =20 =20 =20 From: cschr [mailto:cschr@freenet.de]=20 Sent: 12 August 2016 09:34 To: bug-gnu-emacs@gnu.org Subject: RE: Subject: 25.0.94; Proposal to make orgmode agenda really = useful =20 RRULE might better be an orgmode PROPERTY too, like proposed for = Recurrence End Date and Exceptions in http://thread.gmane.org/gmane.emacs.orgmode/74391 =20 In fact, its several properties, but not all are needed for Android = Sync. I only need: RRULE_FREQ, RRULE_INTERVAL, RRULE_BYDAY, RRULE_COUNT, RRULE_UNTIL.=20 Also, EXDATE is needed which is not part of RRULE but part of VEVENT, = and TRIGGER which is part of VALARM =20 =20 From: cschr [ mailto:cschr@freenet.de]=20 Sent: 10 August 2016 20:27 To: bug-gnu-emacs@gnu.org Subject: Subject: 25.0.94; Proposal to make orgmode agenda really useful =20 I love emacs - its incredibly powerful and helpful - its almost all i ever dreamt of.=20 =20 One thing i miss urgently: make org agenda files fully sync with my icalendar files, including recurrance with end dates, and including = alarms. RRule Exceptions would also be helpfull.=20 =20 Here are my ideas, and I would be curious to hear your plans: =20 1. Would it be an idea to implement a DIARY_RRULE function which can be = used in date sexpr in org agenda (and maybe also the diary) and which accepts an icalendar RRULE string as parameter ? This could make icalendar export and import very easy (just copy the string), and implementation in elisp shouldnt be too hard (but thats something I can only guess - you know it better). =20 2. exceptions and end dates could also be implemented as org properties, as already proposed by = http://thread.gmane.org/gmane.emacs.orgmode/74391 =20 3. At the moment i am stuck because my icalendar file can only be imported into the diary: import into org files is restricted to single events (and maybe very simple recurring events?). And the diary import uses diary-date a lot which cannot be exported, and diary export does not create = VALARms, and the ORG features are not available for the diary. =20 Thanks a lot for your great work !!! Kind regards =96 Christoph Schr=F6der, Cham, Switzerland =20 =20 ------=_NextPart_000_0007_01D21B09.0FECABB0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hello = together

 

Im now running Emacs 25.1 with Org 8.3.5 on = Windows.=A0=A0 I love Emacs and Orgmode and I want to use it instead of = Microsoft Office.=A0=A0 But in order to replace MS-Outlook calendar by = Org Agenda, and in order to sync Org Agenda with my Android phone, I = would need all icalendar functionality, which is used by MS-Outlook and = by Android, implemented in Orgmode. Most urgently missing are recurrence = features like RRULE, EXDATE, DTSTART, DTEND, etc, and import and export = of those from and to icalendar.=A0 =A0The current implementation is only = rudimentary.

 

Emacs diary is not suitable - import and export from = and to icalendar are also not working properly for most recurring = events, and of course it misses the Orgmode features.

 

My idea = would be to introduce recurring icalendar elements like RRULE, EXDATE, = DTSTART and DTEND as Org Properties, which would make importing and = exporting them straightforward, I guess. Main work would be to make = these dates show up in the Org Agenda properly.

 

Wonderful = would be to have this functionality as an official part of orgmode and = maintained

 

A similar work was started in 2013 already: http://thread.= gmane.org/gmane.emacs.orgmode/74391

 

But = that’s all I was able to find on the web about this subject = – it seems no work is going on here - or does anybody know there = is?

 

Im wondering if this idea is of interest to anybody = else – to me this is a real killer feature for using Org = Agenda.

 

I had sent the below emails via bug-gnu-emacs, but = there was no response – was it the wrong place to send to = ?

 

I don’t have Emacs development knowledge.=A0 Is = there any expert here who could tell me if this is possible at all, = whether this could become part of official orgmode and how, and what = could the effort be – is this a few weeks, or a few months, or = much more work ?

 

Thank you so = much

 

Kind regards

Chris

 

 

 

 

From: cschr [mailto:cschr@freenet.de]
Sent: 12 August = 2016 09:34
To: bug-gnu-emacs@gnu.org
Subject: RE: = Subject: 25.0.94; Proposal to make orgmode agenda really = useful

 

RRULE might = better be an orgmode PROPERTY too, like proposed for Recurrence End Date = and Exceptions in http://thread.gmane.org/gmane.emacs.orgmode/74= 391

 

In fact, its several properties, but not all are = needed for Android Sync. I only need: RRULE_FREQ, RRULE_INTERVAL, = RRULE_BYDAY, RRULE_COUNT, RRULE_UNTIL.

Also, EXDATE is needed which is not part of RRULE but = part of VEVENT, and TRIGGER which is part of VALARM

 

 

From: cschr [mailto:cschr@freenet.de]
Sent: 10 August 2016 20:27
To: =
bug-gnu-emacs@gnu.org
Subject: Subject: 25.0.94; Proposal to make = orgmode agenda really useful

 

I love emacs = - its incredibly powerful and helpful - its almost all = i

ever dreamt of.

 

One thing i = miss urgently: make org agenda files fully sync with my

icalendar files, including recurrance with end dates, = and including alarms.

RRule = Exceptions would also be helpfull.

 

Here are my = ideas, and I would be curious to hear your plans:

 

1. Would it = be an idea to implement a DIARY_RRULE function which can be = used

in date sexpr in org agenda (and = maybe also the diary) and which accepts

an icalendar RRULE string as parameter ?   = This could make icalendar

export and = import very easy (just copy the string), and = implementation

in elisp shouldnt be = too hard (but thats something I can only guess -

you know it better).

 

2. = exceptions and end dates could also be implemented as org = properties,

as already proposed by = http://thread.gmane.org/gmane.emacs.orgmode/74391=

 

3. At the moment i am stuck because my icalendar file = can only be

imported into the diary: = import into org files is restricted to single events

(and maybe very simple recurring events?). And the = diary import uses diary-date

a lot = which cannot be exported, and diary export does not create = VALARms,

and the ORG features are not = available for the diary.

 

Thanks a lot = for your great work !!!

Kind regards = – Christoph Schr=F6der, Cham, Switzerland

 

 

------=_NextPart_000_0007_01D21B09.0FECABB0--