I am trying to setup org-mac-iCal See https://orgmode.org/worg/org-contrib/org-mac-iCal.html.

Nothing happens when Emacs loads. Even when I run the specific function org-mac-iCal, nothing happens still.

My configuration:

#+BEGIN_SRC emacs-lisp
(require 'org)
(require 'org-mac-iCal)
(add-to-list 'org-modules 'org-mac-iCal)

#+BEGIN_SRC emacs-lisp
(setq org-agenda-include-diary t)

#+BEGIN_SRC emacs-lisp
(setq org-agenda-custom-commands
      '(("I" "Import diary from iCal" agenda ""
           (lambda ()

The diary file remains empty. Incidentally, if the diary does not exist, this complains about that, but that's not really an issue.

My iCalendar has many calendars. They are all checked, per the documentation in the link above.

UPDATE: This package might be just too old?

  • do you evaluate those code blocks? Apr 24 '19 at 9:43
  • @manandearth yes of course. This is part of my configuration (using org-mode style configuration).
    – n_x_l
    Apr 24 '19 at 14:39

Ok, it turns out that all one has to fix is the version that the org-mac-iCal expects (namely, just add your Mac version directly in this line: https://github.com/Fuco1/org-mode/blob/master/contrib/lisp/org-mac-iCal.el#L101).

The rest works beautifully. Be sure to read the docs: https://orgmode.org/worg/org-contrib/org-mac-iCal.html.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.