From: Steve Purcell <steve@sanityinc.com>
To: emacs-orgmode@gnu.org
Subject: Patch: org-mac-iCal is a no-op on OS X 10.8
Date: Sat, 1 Dec 2012 14:11:48 +0000 [thread overview]
Message-ID: <8F625751-4E27-46A8-AC49-006ED41F4B05@sanityinc.com> (raw)
I just found that org-mac-iCal.el doesn't work on OS X 10.8 (Mountain
Lion).
The trivial patch below fixes this.
Cheers,
-Steve
commit 71b50131b5e6ae00a5e6c2f0bff2cec377c68c0f (HEAD, refs/heads/master)
Author: Steve Purcell <steve@sanityinc.com>
Date: Sat Dec 1 14:06:02 2012 +0000
org-mac-iCal: also use post-Leopard logic to concatenate calendars in 10.8
Modified contrib/lisp/org-mac-iCal.el
diff --git a/contrib/lisp/org-mac-iCal.el b/contrib/lisp/org-mac-iCal.el
index 0fdc95f..a48cf22 100644
--- a/contrib/lisp/org-mac-iCal.el
+++ b/contrib/lisp/org-mac-iCal.el
@@ -99,7 +99,7 @@ the the Emacs diary"
;; for each calendar, concatenate individual events into a single ics file
(with-temp-buffer
(shell-command "sw_vers" (current-buffer))
- (when (re-search-backward "10\\.[567]" nil t)
+ (when (re-search-backward "10\\.[5678]" nil t)
(omi-concat-leopard-ics all-calendars)))
;; move all caldav ics files to the same place as local ics files
next reply other threads:[~2012-12-01 14:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-01 14:11 Steve Purcell [this message]
2012-12-04 14:16 ` Patch: org-mac-iCal is a no-op on OS X 10.8 Bastien
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=8F625751-4E27-46A8-AC49-006ED41F4B05@sanityinc.com \
--to=steve@sanityinc.com \
--cc=emacs-orgmode@gnu.org \
/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).