From mboxrd@z Thu Jan 1 00:00:00 1970 From: charles@aurox.ch (Charles A. Roelli) Subject: Re: org-mac-iCal.el error Date: Sat, 22 Oct 2016 12:10:01 +0200 Message-ID: References: <08CB828F-1EDB-42ED-834B-2EFC42D50AEF@esatclear.ie> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxtFs-0007QG-FU for emacs-orgmode@gnu.org; Sat, 22 Oct 2016 06:10:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxtFo-0001Oj-GC for emacs-orgmode@gnu.org; Sat, 22 Oct 2016 06:10:20 -0400 Received: from [2a03:2040:2:1b::1] (port=32866 helo=sinyavsky.aurox.ch) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bxtFo-0001HB-8t for emacs-orgmode@gnu.org; Sat, 22 Oct 2016 06:10:16 -0400 Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id 19AAC2226C for ; Sat, 22 Oct 2016 10:08:52 +0000 (UTC) Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id w36HCCex12Ot for ; Sat, 22 Oct 2016 10:08:50 +0000 (UTC) In-Reply-To: <08CB828F-1EDB-42ED-834B-2EFC42D50AEF@esatclear.ie> (=?utf-8?B?IlLDs27DoW4=?= Kennedy"'s message of "Thu, 20 Oct 2016 20:06:22 +0100") 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: =?utf-8?B?UsOzbsOhbg==?= Kennedy Cc: emacs-orgmode@gnu.org Hi, It might help to add `(require 'org)' before the code block, since the code in org-mac-iCal depends on some functions that are part of Org mode. You should also make sure that calling org-mac-iCal (in the last line of the code block) is really what you want, since this would be called every time you start up Emacs. According to the documentation it overwrites the diary file. If you don't want this, you can type "M-x org-mac-iCal" instead. Cheers, Charles