From: Tobias Frischholz <tobias@friolz.com>
To: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: org-mac-iCal: "Import diary from iCal in agenda" doesn't work
Date: Fri, 4 Sep 2015 21:49:29 +0200 [thread overview]
Message-ID: <B9C991A9-1934-420F-BD88-51B27E21AEE3@friolz.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 717 bytes --]
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=0xCD463AC1&op=index
[-- Attachment #1.2: Type: text/html, Size: 2398 bytes --]
[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 842 bytes --]
next reply other threads:[~2015-09-04 19:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-04 19:49 Tobias Frischholz [this message]
2015-09-04 20:35 ` org-mac-iCal: "Import diary from iCal in agenda" doesn't work Josiah Schwab
2015-09-04 22:35 ` Josiah Schwab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=B9C991A9-1934-420F-BD88-51B27E21AEE3@friolz.com \
--to=tobias@friolz.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).