emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] org-mac-iCal.el uses hard-coded diary file name


From: Carsten Dominik
Subject: Re: [Orgmode] org-mac-iCal.el uses hard-coded diary file name
Date: Sun, 1 Nov 2009 18:20:33 +0100

Applied, thanks.

- Carsten

On Nov 1, 2009, at 5:15 PM, Doug Hellmann wrote:


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.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten







reply via email to

[Prev in Thread] Current Thread [Next in Thread]