From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Zang Subject: Re: Link-protocols Date: Fri, 26 Feb 2010 21:32:52 +0100 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nl6rv-0003BG-IM for emacs-orgmode@gnu.org; Fri, 26 Feb 2010 15:33:03 -0500 Received: from [140.186.70.92] (port=33838 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nl6ru-0003B5-DD for emacs-orgmode@gnu.org; Fri, 26 Feb 2010 15:33:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nl6rr-0001zy-V9 for emacs-orgmode@gnu.org; Fri, 26 Feb 2010 15:33:00 -0500 Received: from mail-fx0-f222.google.com ([209.85.220.222]:43469) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nl6rr-0001zq-ON for emacs-orgmode@gnu.org; Fri, 26 Feb 2010 15:32:59 -0500 Received: by fxm22 with SMTP id 22so524242fxm.26 for ; Fri, 26 Feb 2010 12:32:56 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Anthony Lander Cc: emacs-orgmode Am 26.02.2010 um 18:18 schrieb Anthony Lander: >=20 > On 10-Feb-26, at 8:57 AM, Christian Zang wrote: >=20 >> I use org-mode for notes, and DEVONthink and Papers on the mac for = storing reference material. I want to add links to entries in DEVONthink = and Papers to my org-files, but org doesn't understand links like >>=20 >> papers://doi/10.1038/463860a >>=20 >> or >>=20 >> x-devonthink-item://6EB3DF6A-9B0D-4D26-A7D3-86D0B589E455 >>=20 >> However, when I paste these links into my browser, the desired = documents open in the respective app. >>=20 >> Is there a way to add these "protocols" to the protocols org can = handle? I looked into org-follow-link, but couldn't come up with a = solution. >>=20 >=20 > Hi Christian, >=20 > Here is a snippet I use for opening Together links (another mac = organizer): >=20 > -------------------------------------------------- > (org-add-link-type "x-together-item" 'org-together-item-open) >=20 > (defun org-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 "\""))) > --------------------------------------------------- >=20 > I suspect that this can be adapted for your purposes as well. >=20 > Regards, >=20 > --Anthony Hi Anthony, thanks for the snippet, it works perfectly with DEVONthink, but not with = Papers.app. I suppose because the Papers-link contains slashes and might = not be a proper uid... Best, Christian=