From: Doug Hellmann <doug.hellmann@gmail.com>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Cc: suckling@gmail.com
Subject: org-mac-iCal.el uses hard-coded diary file name
Date: Sun, 1 Nov 2009 11:15:29 -0500 [thread overview]
Message-ID: <E0535D8F-7C38-4E6D-9037-1B2092A3C196@gmail.com> (raw)
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
next reply other threads:[~2009-11-01 16:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-01 16:15 Doug Hellmann [this message]
2009-11-01 17:20 ` org-mac-iCal.el uses hard-coded diary file name Carsten Dominik
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=E0535D8F-7C38-4E6D-9037-1B2092A3C196@gmail.com \
--to=doug.hellmann@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=suckling@gmail.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).