From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Frischholz Subject: org-mac-iCal: "Import diary from iCal in agenda" doesn't work Date: Fri, 4 Sep 2015 21:49:29 +0200 Message-ID: Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: multipart/signed; boundary="Apple-Mail=_28C843B1-263A-4B1B-85BC-EDFA16C02EAF"; protocol="application/pgp-signature"; micalg=pgp-sha512 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54775) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXwzS-0002uU-4D for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 15:49:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXwzO-0002fz-UZ for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 15:49:38 -0400 Received: from sculptor.uberspace.de ([95.143.172.183]:42045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXwzO-0002dx-EW for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 15:49:34 -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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode Mailing List --Apple-Mail=_28C843B1-263A-4B1B-85BC-EDFA16C02EAF Content-Type: multipart/alternative; boundary="Apple-Mail=_CA848199-B9C7-4670-89FC-458C0B08ADED" --Apple-Mail=_CA848199-B9C7-4670-89FC-458C0B08ADED Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii I have a small problem with a key binding for the agenda, which should = import my iCal.app appointments into the diary. I have the following code from this page: (setq org-agenda custom-commands '(("I" "Import diary from iCal" agenda "" ((org-agenda-mode-hook (lambda () (org-mac-iCal))))))) When I start Emacs I get this warning: Warning (initialization): An error occurred while loading = `/Users/friolz/.emacs.d/init.el': Symbol's value as variable is void: custom-commands Manually importing the dates via M-x org-mac-iCal is working fine. Best regards, Tobias Frischholz PGP PUBLIC KEY: http://pgp.mit.edu/pks/lookup?search=3D0xCD463AC1&op=3Dind= ex --Apple-Mail=_CA848199-B9C7-4670-89FC-458C0B08ADED Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii
I have a small problem with a key binding for the agenda, which should import my iCal.app appointments into the diary.

I have the following code from this page:

(setq org-agenda custom-commands
      '(("I" "Import diary from iCal" agenda ""
         ((org-agenda-mode-hook
           (lambda ()
             (org-mac-iCal)))))))
When I start Emacs I get this warning:

Warning (initialization): An error occurred while loading `/Users/friolz/.emacs.d/init.el':

Symbol's value as variable is void: custom-commands


Manually importing the dates via M-x org-mac-iCal is working fine.

Best regards,
Tobias Frischholz


--Apple-Mail=_CA848199-B9C7-4670-89FC-458C0B08ADED-- --Apple-Mail=_28C843B1-263A-4B1B-85BC-EDFA16C02EAF Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJV6fXJAAoJEOMnxKXNRjrB4BsP/Ayes5gn81Kyvea+qMciKSQO 8PSs+H64LyV0RvGAO1ViN6dtnSYdLd2eN2K5a7y4PzmDk/vvw+bpx4si8Hf7AH++ sgrpOCXKu7IzeZd5Mnk7P9FzE/yoBrOiUksbrSasea2q4mK2ci6jAPMp2cvzNBkO bSe9ewlKxyAekDW0g6rkcG4zW3qyTWKjJRGAVLiYaiM1eUzJTtJf+fA3iYUr4s46 6VwT34h4tQ0mwyoPEqIXFHBFvHeAT1dfeA2N0UsjhwKdnhMxXGuQZiv5LGxNilA/ +l/8LZI8BWLm1mDom8zUwlYXP2G/pEXOsvHbImLOm0tDQvw6QCPEMuoz69pRHnLY luaGuay6ttI2GSQSo/GstxinUA1yl6Bgd2W5tP+yqfwE/DynxaLTJpUZXo+33R12 weiO82m/8EQMAUS1HTG35y5Rl6+JaQHVWFG2eodM+UHNbJkh1K4eGNUzx/TDwON1 fRj0/fItKQuu/+E441PCsVCzm9GeLEIXj5Z6cQcMdZU9cI5s/SYaNRLPE0N7SGt+ LUKL+RK0Twg5jZsaWFg7dbvLCm/LkvJwbZEebhx1GDBM0eYGJPg4OnqlJD9/g9j5 F6RAvh7ETjgyRM3o7n3B+GNOS9gO8TMF60MCWLrIk5PkvVebQQyEOzRX6uslCWfK EKsAHet9P7iEdcwfy7n5 =2zPn -----END PGP SIGNATURE----- --Apple-Mail=_28C843B1-263A-4B1B-85BC-EDFA16C02EAF--