From: Carsten Dominik <carsten.dominik@gmail.com>
To: Anthony Lander <anthonylander@yahoo.com>
Cc: emacs-orgmode List <emacs-orgmode@gnu.org>
Subject: Re: patch for org-mac-link-grabber
Date: Tue, 29 Jun 2010 06:53:23 +0200 [thread overview]
Message-ID: <64C7EACC-2DB7-4ED8-B228-5EC4E3B97CD0@gmail.com> (raw)
In-Reply-To: <4CE9026B-4425-48AA-8C41-5008928A3CDB@yahoo.com>
Anthony,
this somehow got garbles in the patchworks catcher. Can you please
submit the patch again and attach it, so that you email program cannot
garble it?
Thanks.
- Carsten
On Jun 24, 2010, at 8:53 PM, Anthony Lander wrote:
> Hi Carsten,
>
> Could you please apply the following patch to fix a problem where
> Together links were being incorrectly opened with AddressBook?
>
> Thanks
>
> -Anthony
>
>
>
> ----------------------------------------------
> diff --git a/contrib/lisp/org-mac-link-grabber.el b/contrib/lisp/org-
> mac-link-grabber.el
> index 46a9565..bb12204 100644
> --- a/contrib/lisp/org-mac-link-grabber.el
> +++ b/contrib/lisp/org-mac-link-grabber.el
> @@ -318,7 +318,7 @@ applications and inserting them in org documents"
>
> (defun org-mac-together-item-open (uid)
> "Open the given uid, which is a reference to an item in Together"
> - (shell-command (concat "open \"x-together-item:" uid "\"")))
> + (shell-command (concat "open -a Together \"x-together-item:" uid
> "\"")))
>
> (defun as-get-selected-together-items ()
> (do-applescript
> @@ -378,9 +378,9 @@ applications and inserting them in org documents"
> ;;
> ;;
>
> -(org-add-link-type "addressbook" 'org-mac-together-item-open)
> +(org-add-link-type "addressbook" 'org-mac-addressbook-item-open)
>
> -(defun org-mac-together-item-open (uid)
> +(defun org-mac-addressbook-item-open (uid)
> "Open the given uid, which is a reference to an item in Together"
> (shell-command (concat "open \"addressbook:" uid "\"")))
>
- Carsten
prev parent reply other threads:[~2010-06-29 4:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-24 18:53 patch for org-mac-link-grabber Anthony Lander
2010-06-29 4:53 ` 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=64C7EACC-2DB7-4ED8-B228-5EC4E3B97CD0@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=anthonylander@yahoo.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).