org-mac-iCal.el doesn't use the diary-file variable to save the diary it generates, so if the variable isn't set to the same path as the hard-coded value in the library the diary entries don't show up in your agenda view.

I think the patch below fixes the problem.

Thanks,
Doug



diff --git a/contrib/lisp/org-mac-iCal.el b/contrib/lisp/org-mac-iCal.el
index 056d73d..fa4e763 100644
--- a/contrib/lisp/org-mac-iCal.el
+++ b/contrib/lisp/org-mac-iCal.el
@@ -202,7 +202,8 @@ date range so that Emacs calendar view doesn't grind to a ha
     (goto-line 1)
     (write-region (point-min) (point-max) string))

-  (icalendar-import-file string (expand-file-name "~/.emacs.d/diary")))
+  (icalendar-import-file string diary-file))
+;; (icalendar-import-file string (expand-file-name "~/.emacs.d/ diary")))

 (defun omi-kill-diary-buffer (list)
   (mapc





_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to