emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Jonathan Creekmore <jonathan@thecreekmores.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Detect Mac OS X in iCal import
Date: Wed, 31 Mar 2010 00:16:26 +0200	[thread overview]
Message-ID: <3D9256A1-BA7B-41AF-A019-A900E652B6B1@gmail.com> (raw)
In-Reply-To: <m2oci5wmib.fsf@thecreekmores.org>

Applied, thanks.

- Carsten

On Mar 30, 2010, at 11:03 PM, Jonathan Creekmore wrote:

> This patch modifies the Mac OS X detection code to check for both
> Leopard and Snow Leopard, since they both store iCal events in  
> separate
> files for Spotlight searching purposes.
>
> Jonathan
>
> --8<---------------cut here---------------start------------->8---
> diff --git a/contrib/lisp/org-mac-iCal.el b/contrib/lisp/org-mac- 
> iCal.el
> index 0d0b4f8..2510aa7 100644
> --- a/contrib/lisp/org-mac-iCal.el
> +++ b/contrib/lisp/org-mac-iCal.el
> @@ -98,8 +98,8 @@ the the Emacs diary"
>
>   ;; for each calendar, concatenate individual events into a single  
> ics file
>   (with-temp-buffer
> -    (shell-command "sw_vers" " *temp*")
> -    (when (re-search-backward "10.5" nil t)
> +    (shell-command "sw_vers" (current-buffer))
> +    (when (re-search-backward "10\\.[56]" nil t)
>       (omi-concat-leopard-ics all-calendars)))
>
>   ;; move all caldav ics files to the same place as local ics files
> --8<---------------cut here---------------start------------->8---
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

      parent reply	other threads:[~2010-03-30 22:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-30 21:03 [PATCH] Detect Mac OS X in iCal import Jonathan Creekmore
2010-03-30 21:25 ` Christopher Suckling
2010-03-30 22:16 ` Carsten Dominik [this message]

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=3D9256A1-BA7B-41AF-A019-A900E652B6B1@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jonathan@thecreekmores.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).