From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mohamed Wael Khobalatte Subject: Porting Apple Calendars to org-mode Date: Wed, 24 Apr 2019 15:32:52 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000002ce5a05874bc685" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:55046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJNdx-0001P7-6L for emacs-orgmode@gnu.org; Wed, 24 Apr 2019 15:33:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJNdw-0008Mr-6f for emacs-orgmode@gnu.org; Wed, 24 Apr 2019 15:33:21 -0400 Received: from mail-it1-x133.google.com ([2607:f8b0:4864:20::133]:38781) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hJNdv-0008L0-TO for emacs-orgmode@gnu.org; Wed, 24 Apr 2019 15:33:20 -0400 Received: by mail-it1-x133.google.com with SMTP id q19so8232959itk.3 for ; Wed, 24 Apr 2019 12:33:19 -0700 (PDT) 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 --00000000000002ce5a05874bc685 Content-Type: text/plain; charset="UTF-8" Hi guys, I posted a question to the Emacs StackExchange ( https://emacs.stackexchange.com/questions/50137/show-apple-calendar-events-in-org-mode), but I believe it's better asked here. Does anyone know how I can get my Apple calendar to show up in org-mode as readonly (preferably)? I had no luck with org-mac-iCal. Only one calendar (the Birthdays calendar) shows up, eventhough all other calendars are *checked*, as the documentation from that package requires. It is also rather old, so not sure if it works anymore? --00000000000002ce5a05874bc685 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi guys, I posted a question to the Emacs= StackExchange (https://emacs.stackexchange.com/que= stions/50137/show-apple-calendar-events-in-org-mode), but I believe it&= #39;s better asked here. Does anyone know how I can get my Apple calendar t= o show up in org-mode as readonly (preferably)?

I= had no luck with org-mac-iCal. Only one calendar (the Birthdays calendar) = shows up, eventhough all other calendars are *checked*, as the documentatio= n from that package requires. It is also rather old, so not sure if it work= s anymore?
--00000000000002ce5a05874bc685-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Re: Porting Apple Calendars to org-mode Date: Wed, 24 Apr 2019 21:42:37 +0200 Message-ID: <87sgu72nrm.fsf@geus3064linuxwsm.geus.dk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:60865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJO03-0000Pm-Bf for emacs-orgmode@gnu.org; Wed, 24 Apr 2019 15:56:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJNn1-0006DI-48 for emacs-orgmode@gnu.org; Wed, 24 Apr 2019 15:42:46 -0400 Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]:43855) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hJNmz-0006Bn-18 for emacs-orgmode@gnu.org; Wed, 24 Apr 2019 15:42:43 -0400 Received: by mail-lf1-x133.google.com with SMTP id i68so15610612lfi.10 for ; Wed, 24 Apr 2019 12:42:40 -0700 (PDT) In-reply-to: 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: Mohamed Wael Khobalatte Cc: emacs-orgmode@gnu.org Hi Mohamed, On 2019-04-24 at 21:32 +0200, Mohamed Wael Khobalatte wrote... org-mode), > Does anyone know how I can get my Apple calendar to show up in > org-mode as readonly (preferably)? I had no luck with org-mac-iCal. There are several tools named ical2org - different languages, implementations, and/or forks. I used to use one of them when I was on OS X and it worked well for me. I'm not on OS X anymore but use something called "ical2orgpy" that downloads ICS files from Google and Outlook (and could from iCloud I think?) and converts them to read-only Org buffers. The top line is -*- eval: (eval (progn (auto-revert-mode 1) (read-only-mode 1))); -*- So they are read-only and Emacs updates them when the buffer gets changed on disk w/o any questions. -k. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mohamed Wael Khobalatte Subject: Re: Porting Apple Calendars to org-mode Date: Wed, 24 Apr 2019 15:56:20 -0400 Message-ID: References: <87sgu72nrm.fsf@geus3064linuxwsm.geus.dk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f6fdff05874c1943" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:33168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJO0f-000165-3m for emacs-orgmode@gnu.org; Wed, 24 Apr 2019 15:56:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJO0d-0008UN-Kd for emacs-orgmode@gnu.org; Wed, 24 Apr 2019 15:56:49 -0400 Received: from mail-it1-x12b.google.com ([2607:f8b0:4864:20::12b]:56169) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hJO0d-0008TL-EJ for emacs-orgmode@gnu.org; Wed, 24 Apr 2019 15:56:47 -0400 Received: by mail-it1-x12b.google.com with SMTP id y134so8517670itc.5 for ; Wed, 24 Apr 2019 12:56:47 -0700 (PDT) In-Reply-To: <87sgu72nrm.fsf@geus3064linuxwsm.geus.dk> 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: Ken Mankoff Cc: emacs-orgmode@gnu.org --000000000000f6fdff05874c1943 Content-Type: text/plain; charset="UTF-8" Hi Ken, Thanks for your response. The file(s) you linked to usually assume a generated list of ics files no? My problem right now is that I do not want to generate those manually from my Mac (could be done of course, but this search is for something that does that). The one that comes close is org-mac-iCal, but again my problem with that one is that it does not work for all the calendars, even personal one that is not networked. Surprisingly, it works with the holidays calendar (sorry I said birthdays before, but it's the holidays one that comes by default). I do not know what's special about that one, but my guess is that perhaps the formats or locations have changed for the others, although that would be..surprising. On Wed, Apr 24, 2019 at 3:42 PM Ken Mankoff wrote: > Hi Mohamed, > > On 2019-04-24 at 21:32 +0200, Mohamed Wael Khobalatte > wrote... > org-mode), > > Does anyone know how I can get my Apple calendar to show up in > > org-mode as readonly (preferably)? I had no luck with org-mac-iCal. > > There are several tools named ical2org - different languages, > implementations, and/or forks. I used to use one of them when I was on OS X > and it worked well for me. > > I'm not on OS X anymore but use something called "ical2orgpy" that > downloads ICS files from Google and Outlook (and could from iCloud I > think?) and converts them to read-only Org buffers. The top line is > > -*- eval: (eval (progn (auto-revert-mode 1) (read-only-mode 1))); -*- > > So they are read-only and Emacs updates them when the buffer gets changed > on disk w/o any questions. > > -k. > > -- Wael Khobalatte --000000000000f6fdff05874c1943 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Ken,=C2=A0

Thanks for your response.= The file(s) you linked to usually assume a generated list of ics files no?= My problem right now is that I do not want to generate those manually from= my Mac (could be done of course, but this search is for something that doe= s that).=C2=A0

The one that comes close is org-mac= -iCal, but again my problem with that one is that it does not work for all = the calendars, even personal one that is not networked. Surprisingly, it wo= rks with the holidays calendar (sorry I said birthdays before, but it's= the holidays one that comes by default). I do not know what's special = about that one, but my guess is that perhaps the formats or locations have = changed for the others, although that would be..surprising.=C2=A0

On W= ed, Apr 24, 2019 at 3:42 PM Ken Mankoff <mankoff@gmail.com> wrote:
Hi Mohamed= ,

On 2019-04-24 at 21:32 +0200, Mohamed Wael Khobalatte
<wael.kho= balatte@gmail.com> wrote...
org-mode),
> Does anyone know how I can get my Apple calendar to show up in
> org-mode as readonly (preferably)? I had no luck with org-mac-iCal.
There are several tools named ical2org - different languages, implementatio= ns, and/or forks. I used to use one of them when I was on OS X and it worke= d well for me.

I'm not on OS X anymore but use something called "ical2orgpy"= that downloads ICS files from Google and Outlook (and could from iCloud I = think?) and converts them to read-only Org buffers. The top line is

-*- eval: (eval (progn (auto-revert-mode 1) (read-only-mode 1))); -*-

So they are read-only and Emacs updates them when the buffer gets changed o= n disk w/o any questions.

=C2=A0 -k.



--
Wael= Khobalatte

--000000000000f6fdff05874c1943-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mohamed Wael Khobalatte Subject: Re: Porting Apple Calendars to org-mode Date: Wed, 24 Apr 2019 16:00:19 -0400 Message-ID: References: <87sgu72nrm.fsf@geus3064linuxwsm.geus.dk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000031a57c05874c28c3" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:34217) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJO4V-0004Kl-Kk for emacs-orgmode@gnu.org; Wed, 24 Apr 2019 16:00:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJO4U-0003d4-9Y for emacs-orgmode@gnu.org; Wed, 24 Apr 2019 16:00:47 -0400 Received: from mail-io1-xd2e.google.com ([2607:f8b0:4864:20::d2e]:35259) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hJO4U-0003bf-3F for emacs-orgmode@gnu.org; Wed, 24 Apr 2019 16:00:46 -0400 Received: by mail-io1-xd2e.google.com with SMTP id r18so16123012ioh.2 for ; Wed, 24 Apr 2019 13:00:46 -0700 (PDT) In-Reply-To: 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: Ken Mankoff Cc: emacs-orgmode@gnu.org --00000000000031a57c05874c28c3 Content-Type: text/plain; charset="UTF-8" See for instance https://www.reddit.com/r/orgmode/comments/7vidfd/has_anyone_gotten_orgmacical_to_work/, which describes the same problem (although I *do* see some events, namely holidays, so I am closer to a solution). On Wed, Apr 24, 2019 at 3:56 PM Mohamed Wael Khobalatte < wael.khobalatte@gmail.com> wrote: > Hi Ken, > > Thanks for your response. The file(s) you linked to usually assume a > generated list of ics files no? My problem right now is that I do not want > to generate those manually from my Mac (could be done of course, but this > search is for something that does that). > > The one that comes close is org-mac-iCal, but again my problem with that > one is that it does not work for all the calendars, even personal one that > is not networked. Surprisingly, it works with the holidays calendar (sorry > I said birthdays before, but it's the holidays one that comes by default). > I do not know what's special about that one, but my guess is that perhaps > the formats or locations have changed for the others, although that would > be..surprising. > > On Wed, Apr 24, 2019 at 3:42 PM Ken Mankoff wrote: > >> Hi Mohamed, >> >> On 2019-04-24 at 21:32 +0200, Mohamed Wael Khobalatte >> wrote... >> org-mode), >> > Does anyone know how I can get my Apple calendar to show up in >> > org-mode as readonly (preferably)? I had no luck with org-mac-iCal. >> >> There are several tools named ical2org - different languages, >> implementations, and/or forks. I used to use one of them when I was on OS X >> and it worked well for me. >> >> I'm not on OS X anymore but use something called "ical2orgpy" that >> downloads ICS files from Google and Outlook (and could from iCloud I >> think?) and converts them to read-only Org buffers. The top line is >> >> -*- eval: (eval (progn (auto-revert-mode 1) (read-only-mode 1))); -*- >> >> So they are read-only and Emacs updates them when the buffer gets changed >> on disk w/o any questions. >> >> -k. >> >> > > -- > Wael Khobalatte > > -- Wael Khobalatte --00000000000031a57c05874c28c3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
See for instance=C2=A0https://www.reddit.com/r/orgmode/comments/7vidfd/has_anyone_gotten_org= macical_to_work/, which describes the same problem (although I *do* see= some events, namely holidays, so I am closer to a solution).=C2=A0

On= Wed, Apr 24, 2019 at 3:56 PM Mohamed Wael Khobalatte <wael.khobalatte@gmail.com> wrote:
Hi Ken,=C2=A0

Thank= s for your response. The file(s) you linked to usually assume a generated l= ist of ics files no? My problem right now is that I do not want to generate= those manually from my Mac (could be done of course, but this search is fo= r something that does that).=C2=A0

The one that co= mes close is org-mac-iCal, but again my problem with that one is that it do= es not work for all the calendars, even personal one that is not networked.= Surprisingly, it works with the holidays calendar (sorry I said birthdays = before, but it's the holidays one that comes by default). I do not know= what's special about that one, but my guess is that perhaps the format= s or locations have changed for the others, although that would be..surpris= ing.=C2=A0

On Wed, Apr 24, 2019 at 3:42 PM Ken Mankoff <mankoff@gmail.com> wrote= :
Hi Mohamed,

On 2019-04-24 at 21:32 +0200, Mohamed Wael Khobalatte
<wael.kho= balatte@gmail.com> wrote...
org-mode),
> Does anyone know how I can get my Apple calendar to show up in
> org-mode as readonly (preferably)? I had no luck with org-mac-iCal.
There are several tools named ical2org - different languages, implementatio= ns, and/or forks. I used to use one of them when I was on OS X and it worke= d well for me.

I'm not on OS X anymore but use something called "ical2orgpy"= that downloads ICS files from Google and Outlook (and could from iCloud I = think?) and converts them to read-only Org buffers. The top line is

-*- eval: (eval (progn (auto-revert-mode 1) (read-only-mode 1))); -*-

So they are read-only and Emacs updates them when the buffer gets changed o= n disk w/o any questions.

=C2=A0 -k.



--
Wael Khobalatte



--
Wael= Khobalatte

--00000000000031a57c05874c28c3-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mohamed Wael Khobalatte Subject: Re: Porting Apple Calendars to org-mode Date: Wed, 24 Apr 2019 22:41:44 -0400 Message-ID: References: <87sgu72nrm.fsf@geus3064linuxwsm.geus.dk> <87pnpa3jfc.fsf@geus3064linuxwsm.geus.dk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000de669f058751c3b9" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:45630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJUOV-0008HC-Pq for emacs-orgmode@gnu.org; Wed, 24 Apr 2019 22:45:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJUKz-0002Ek-ID for emacs-orgmode@gnu.org; Wed, 24 Apr 2019 22:42:15 -0400 Received: from mail-io1-xd32.google.com ([2607:f8b0:4864:20::d32]:38747) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hJUKz-0002EU-3p for emacs-orgmode@gnu.org; Wed, 24 Apr 2019 22:42:13 -0400 Received: by mail-io1-xd32.google.com with SMTP id y6so10012614ior.5 for ; Wed, 24 Apr 2019 19:42:12 -0700 (PDT) In-Reply-To: <87pnpa3jfc.fsf@geus3064linuxwsm.geus.dk> 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: Ken Mankoff Cc: emacs-orgmode@gnu.org --000000000000de669f058751c3b9 Content-Type: text/plain; charset="UTF-8" Thanks Ken, I'll check them out. If none works then I might try to code up something. On Wed, Apr 24, 2019 at 10:31 PM Ken Mankoff wrote: > > On 2019-04-24 at 21:56 +0200, Mohamed Wael Khobalatte < > wael.khobalatte@gmail.com> wrote... > > The file(s) you linked to usually assume a generated list of ics files > > no? > > I didn't link to any files. There are *many* ical2org packages, many > different ones. The one I currently use does expect an ICS file. If you use > iCloud you have access to these. If your calendar is 100% local, then try > this ical2org code: https://github.com/mankoff/ical2org I used to > maintain that fork, and used it many years ago with an only-local iCal > setup that did not have ICS files, just some weird Apple folder structure > in ~/Library/. > > Sorry I can't help more. The code is old and I'm going offline for the > next 5 weeks. But if you look at these two different ical2org, the ruby > implementation, the Perl implementation, etc. one of them might do what you > want. > > -k. > > -- Wael Khobalatte --000000000000de669f058751c3b9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks Ken, I'll check them out. If none works then I = might try to code up something.=C2=A0

On Wed, Apr 24, 2019 at 10:31 PM K= en Mankoff <mankoff@gmail.com&g= t; wrote:

On 2019-04-24 at 21:56 +0200, Mohamed Wael Khobalatte <wael.khobalatte@gmail.com= > wrote...
> The file(s) you linked to usually assume a generated list of ics files=
> no?

I didn't link to any files. There are *many* ical2org packages, many di= fferent ones. The one I currently use does expect an ICS file. If you use i= Cloud you have access to these. If your calendar is 100% local, then try th= is ical2org code: https://github.com/mankoff/ical2org=C2=A0 I= used to maintain that fork, and used it many years ago with an only-local = iCal setup that did not have ICS files, just some weird Apple folder struct= ure in ~/Library/.

Sorry I can't help more. The code is old and I'm going offline for = the next 5 weeks. But if you look at these two different ical2org, the ruby= implementation, the Perl implementation, etc. one of them might do what yo= u want.

=C2=A0 -k.



--
Wael= Khobalatte

--000000000000de669f058751c3b9-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Re: Porting Apple Calendars to org-mode Date: Thu, 25 Apr 2019 04:31:03 +0200 Message-ID: <87pnpa3jfc.fsf@geus3064linuxwsm.geus.dk> References: <87sgu72nrm.fsf@geus3064linuxwsm.geus.dk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:45878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJUOz-0000fM-Jw for emacs-orgmode@gnu.org; Wed, 24 Apr 2019 22:46:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJUAH-0001EU-U1 for emacs-orgmode@gnu.org; Wed, 24 Apr 2019 22:31:10 -0400 Received: from mail-lj1-x235.google.com ([2a00:1450:4864:20::235]:43342) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hJUAG-0001Cn-1z for emacs-orgmode@gnu.org; Wed, 24 Apr 2019 22:31:08 -0400 Received: by mail-lj1-x235.google.com with SMTP id k2so4505725lje.10 for ; Wed, 24 Apr 2019 19:31:07 -0700 (PDT) In-reply-to: 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: Mohamed Wael Khobalatte Cc: emacs-orgmode@gnu.org On 2019-04-24 at 21:56 +0200, Mohamed Wael Khobalatte wrote... > The file(s) you linked to usually assume a generated list of ics files > no? I didn't link to any files. There are *many* ical2org packages, many different ones. The one I currently use does expect an ICS file. If you use iCloud you have access to these. If your calendar is 100% local, then try this ical2org code: https://github.com/mankoff/ical2org I used to maintain that fork, and used it many years ago with an only-local iCal setup that did not have ICS files, just some weird Apple folder structure in ~/Library/. Sorry I can't help more. The code is old and I'm going offline for the next 5 weeks. But if you look at these two different ical2org, the ruby implementation, the Perl implementation, etc. one of them might do what you want. -k. From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Masterson Subject: Re: Porting Apple Calendars to org-mode Date: Fri, 26 Apr 2019 03:34:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Return-path: Received: from eggs.gnu.org ([209.51.188.92]:33298) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJrd8-0001bs-9r for emacs-orgmode@gnu.org; Thu, 25 Apr 2019 23:34:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJrd7-0001Fw-Ac for emacs-orgmode@gnu.org; Thu, 25 Apr 2019 23:34:30 -0400 Received: from mail-oln040092010059.outbound.protection.outlook.com ([40.92.10.59]:32204 helo=NAM04-CO1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hJrd6-0001Et-Gf for emacs-orgmode@gnu.org; Thu, 25 Apr 2019 23:34:29 -0400 In-Reply-To: (Mohamed Wael Khobalatte's message of "Wed, 24 Apr 2019 15:32:52 -0400") Content-Language: en-US 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: Mohamed Wael Khobalatte Cc: "emacs-orgmode@gnu.org" TW9oYW1lZCBXYWVsIEtob2JhbGF0dGUgPHdhZWwua2hvYmFsYXR0ZUBnbWFpbC5jb20+IHdyaXRl czoNCg0KPiBIaSBndXlzLCBJIHBvc3RlZCBhIHF1ZXN0aW9uIHRvIHRoZSBFbWFjcyBTdGFja0V4 Y2hhbmdlDQo+IChodHRwczovL2VtYWNzLnN0YWNrZXhjaGFuZ2UuY29tL3F1ZXN0aW9ucy81MDEz Ny9zaG93LWFwcGxlLWNhbGVuZGFyLWV2ZW50cy1pbi1vcmctbW9kZSksDQo+IGJ1dCBJIGJlbGll dmUgaXQncyBiZXR0ZXIgYXNrZWQgaGVyZS4gRG9lcyBhbnlvbmUga25vdyBob3cgSSBjYW4gZ2V0 DQo+IG15IEFwcGxlIGNhbGVuZGFyIHRvIHNob3cgdXAgaW4gb3JnLW1vZGUgYXMgcmVhZG9ubHkg KHByZWZlcmFibHkpPw0KPg0KPiBJIGhhZCBubyBsdWNrIHdpdGggb3JnLW1hYy1pQ2FsLiBPbmx5 IG9uZSBjYWxlbmRhciAodGhlIEJpcnRoZGF5cw0KPiBjYWxlbmRhcikgc2hvd3MgdXAsIGV2ZW50 aG91Z2ggYWxsIG90aGVyIGNhbGVuZGFycyBhcmUgKmNoZWNrZWQqLCBhcw0KPiB0aGUgZG9jdW1l bnRhdGlvbiBmcm9tIHRoYXQgcGFja2FnZSByZXF1aXJlcy4gSXQgaXMgYWxzbyByYXRoZXIgb2xk LA0KPiBzbyBub3Qgc3VyZSBpZiBpdCB3b3JrcyBhbnltb3JlPw0KDQpBIHN1Z2dlc3Rpb24gaXMg dG8gbG9vayBhdCBodHRwczovL2dpdGh1Yi5jb20vcGltdXRpbHMvdmRpcnN5bmNlci4gIEkNCmRv bid0IGtub3cgYW55dGhpbmcgbW9yZSwgYnV0IGl0IGxvb2tzIHByb21pc2luZy4NCg0KLS0NCkRh dmlkDQo= From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mohamed Wael Khobalatte Subject: Re: Porting Apple Calendars to org-mode Date: Thu, 25 Apr 2019 23:37:09 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000e93480058766a6ec" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:33734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJrfv-0003mK-Iu for emacs-orgmode@gnu.org; Thu, 25 Apr 2019 23:37:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJrfu-0003Dv-Dp for emacs-orgmode@gnu.org; Thu, 25 Apr 2019 23:37:23 -0400 Received: from mail-it1-x142.google.com ([2607:f8b0:4864:20::142]:50315) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hJrfu-0003DK-5S for emacs-orgmode@gnu.org; Thu, 25 Apr 2019 23:37:22 -0400 Received: by mail-it1-x142.google.com with SMTP id q14so3715259itk.0 for ; Thu, 25 Apr 2019 20:37:21 -0700 (PDT) In-Reply-To: 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: David Masterson Cc: "emacs-orgmode@gnu.org" --000000000000e93480058766a6ec Content-Type: text/plain; charset="UTF-8" Thanks, I actually got .org-mac-iCal working, and even changed it to be able to load non-Apple calendars if present in the local calendar app. I will try and push the modified version to github or send a patch. On Thu, Apr 25, 2019 at 11:34 PM David Masterson wrote: > Mohamed Wael Khobalatte writes: > > > Hi guys, I posted a question to the Emacs StackExchange > > ( > https://emacs.stackexchange.com/questions/50137/show-apple-calendar-events-in-org-mode > ), > > but I believe it's better asked here. Does anyone know how I can get > > my Apple calendar to show up in org-mode as readonly (preferably)? > > > > I had no luck with org-mac-iCal. Only one calendar (the Birthdays > > calendar) shows up, eventhough all other calendars are *checked*, as > > the documentation from that package requires. It is also rather old, > > so not sure if it works anymore? > > A suggestion is to look at https://github.com/pimutils/vdirsyncer. I > don't know anything more, but it looks promising. > > -- > David > -- Wael Khobalatte --000000000000e93480058766a6ec Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks, I actually got .org-mac-iCal working, and ev= en changed it to be able to load non-Apple calendars if present in the loca= l calendar app. I will try and push the modified version to github or send = a patch.=C2=A0

On Thu, Apr 25, 2019 at 11:34 PM David Masterson &= lt;dsmasterson@outlook.com&g= t; wrote:
Mohamed Wael Khobalatte &= lt;wael.khob= alatte@gmail.com> writes:

> Hi guys, I posted a question to the Emacs StackExchange
> (https://= emacs.stackexchange.com/questions/50137/show-apple-calendar-events-in-org-m= ode),
> but I believe it's better asked here. Does anyone know how I can g= et
> my Apple calendar to show up in org-mode as readonly (preferably)?
>
> I had no luck with org-mac-iCal. Only one calendar (the Birthdays
> calendar) shows up, eventhough all other calendars are *checked*, as > the documentation from that package requires. It is also rather old, > so not sure if it works anymore?

A suggestion is to look at https://github.com/pimutils/vdirsyn= cer.=C2=A0 I
don't know anything more, but it looks promising.

--
David
--
<= div>Wael Khobalatte

--000000000000e93480058766a6ec-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Norman Walsh Subject: Re: Porting Apple Calendars to org-mode Date: Thu, 02 May 2019 08:44:01 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:59791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMC0W-0006dc-B2 for emacs-orgmode@gnu.org; Thu, 02 May 2019 09:44:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMC0V-0006pq-6A for emacs-orgmode@gnu.org; Thu, 02 May 2019 09:44:16 -0400 Received: from outbound1f.eu.mailhop.org ([52.28.59.28]:37469) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hMC0U-0006nV-Us for emacs-orgmode@gnu.org; Thu, 02 May 2019 09:44:15 -0400 In-Reply-To: (Mohamed Wael Khobalatte's message of "Wed, 24 Apr 2019 15:32:52 -0400") 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 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mohamed Wael Khobalatte writes: > Hi guys, I posted a question to the Emacs StackExchange > (https://emacs.stackexchange.com/questions/50137/show-apple-calendar-even= ts-in-org-mode), > but I believe it's better asked here. Does anyone know how I can get > my Apple calendar to show up in org-mode as readonly (preferably)? Coincidentally, I just went through this exercise myself. I fixed a couple of issues in icalevents[1] and then worked out how to get the calendar details from database that the Mac actually uses to track the calendars. I wrote icaldiary[2] to extract events from my calendar(s) and create an emacs =E2=80=9Cdiary=E2=80=9D file which Org read= s quite happily. > I had no luck with org-mac-iCal. Only one calendar (the Birthdays > calendar) shows up, eventhough all other calendars are *checked*, as > the documentation from that package requires. It is also rather old, > so not sure if it works anymore? Yeah, I found the same problem. I think that Apple stopped storing the active calendar data in the plist files that org-mac-iCal checks. They moved it into the cache which they store with sqlite3. Hoping this is helpful=E2=80=A6 Be seeing you, norm [1] https://github.com/ndw/icalevents [2] https://gist.github.com/ndw/e76a3dad862989deb0cb74b3e2b557b4 =2D-=20 Norman Walsh | Throughout history the world has been http://nwalsh.com/ | laid waste to ensure the triumph of | conceptions that are now as dead as the | men that died for them.--Henry De | Montherlant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE1ury//rzuvqf7fN/hVWfHhJMAHkFAlzK9CEACgkQhVWfHhJM AHksxQ/8DN7AANzLLUASsfVbS+1dd8Cz/HMlwANWqjLI8O1D/rPRKu0mrmq5NuFm X9TYNTdJxENO4YbOag4FNoj/zKKg/dzBYfiMYrIB7Li9UoHylDIcIChwzXQIA3pZ eZ7CRNHN9NXPHJs68Lg6VBI/KHXFXjXY6EiIi1IH0n8S4eb4l7nZsYP97lO24dbs YrW+PsyJs2asASQNsMsI/rTaiD9enVji/zf28KJgIIY5M2MP+0PwJAEhlR7ng21S oZYaE13UY1PPvbidDPqyEUyLtW2hgAnPxz4GS8ZyVn/Te0firWeUbvvZFr6vUa4i kb/+Pd88NyWKv0lPemj6mBuRYYErLEn958ZZw+AzPLzPcak4Lj4kZ8fLQHX4g4uJ FKpX/VfO7ONuKC7phuUrAHHBEeS5ewBlewN/f3Zjm9Xjhlv42k4ySo0o/A50IV6V tHnDIlHr2Z5+AtFVSNtItM7KM07TUxVGfEmg6vq/UnZrU8ZIp/GS4XMcnOJ89K/W nrY4PNPLYKDR/2Fiy4mfbNrnHs+fQinVJ6+8Cs8zy+fv3zhNnkQVYtCYKWG+1BFi mU3aJa3RuRWugDAbayNsUmwCw3q7fO1M6ssQeJVpqY6AG9e34gk/nBXzwVbPgtmq i/PdYonj+fhXFjFoX5f6T4NUVusxejDg6CKF441eVEXHHsFn/eU= =EvoZ -----END PGP SIGNATURE----- --=-=-=--