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