From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Lander Subject: Re: Link-protocols Date: Fri, 26 Feb 2010 12:18:23 -0500 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nl3pb-0008Nl-WC for emacs-orgmode@gnu.org; Fri, 26 Feb 2010 12:18:28 -0500 Received: from [140.186.70.92] (port=49737 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nl3pb-0008Na-7n for emacs-orgmode@gnu.org; Fri, 26 Feb 2010 12:18:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nl3pa-0006dK-GW for emacs-orgmode@gnu.org; Fri, 26 Feb 2010 12:18:27 -0500 Received: from smtp101.prem.mail.ac4.yahoo.com ([76.13.13.40]:24297) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Nl3pa-0006d8-DL for emacs-orgmode@gnu.org; Fri, 26 Feb 2010 12:18:26 -0500 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: Christian Zang Cc: emacs-orgmode On 10-Feb-26, at 8:57 AM, Christian Zang wrote: > 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 > > papers://doi/10.1038/463860a > > or > > x-devonthink-item://6EB3DF6A-9B0D-4D26-A7D3-86D0B589E455 > > However, when I paste these links into my browser, the desired > documents open in the respective app. > > 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. > Hi Christian, Here is a snippet I use for opening Together links (another mac organizer): -------------------------------------------------- (org-add-link-type "x-together-item" 'org-together-item-open) (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 "\""))) --------------------------------------------------- I suspect that this can be adapted for your purposes as well. Regards, --Anthony