emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Josiah Schwab <jschwab@gmail.com>
To: Tobias Frischholz <tobias@friolz.com>
Cc: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: org-mac-iCal: "Import diary from iCal in agenda" doesn't work
Date: Fri, 04 Sep 2015 13:35:12 -0700	[thread overview]
Message-ID: <87zj112a9r.fsf@gmail.com> (raw)
In-Reply-To: <B9C991A9-1934-420F-BD88-51B27E21AEE3@friolz.com>

Hello Tobias,

On  4 September 2015 at 12:49 PDT, Tobias Frischholz wrote:

> 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

I think there's a "-" missing.  The variable name is

  org-agenda-custom-commands
            ^
Best,
Josiah

  reply	other threads:[~2015-09-04 20:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-04 19:49 org-mac-iCal: "Import diary from iCal in agenda" doesn't work Tobias Frischholz
2015-09-04 20:35 ` Josiah Schwab [this message]
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=87zj112a9r.fsf@gmail.com \
    --to=jschwab@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tobias@friolz.com \
    /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).