From mboxrd@z Thu Jan 1 00:00:00 1970 From: "John Wiegley" Subject: Re: DevonThink links in org mode? Date: Mon, 16 Jul 2012 13:22:12 -0500 Message-ID: References: <704B38AF-434B-480D-B67D-6B94614F8BA6@polytechnique.org> <87394rhoyj.fsf@gnu.org> <21AAF9D0-D643-4A43-A194-DC4025E398C9@polytechnique.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sqpw0-00027d-PO for emacs-orgmode@gnu.org; Mon, 16 Jul 2012 14:22:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sqpvz-0006ew-J1 for emacs-orgmode@gnu.org; Mon, 16 Jul 2012 14:22:16 -0400 Received: from mail-yw0-f41.google.com ([209.85.213.41]:63431) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sqpvz-0006ek-BD for emacs-orgmode@gnu.org; Mon, 16 Jul 2012 14:22:15 -0400 Received: by yhr47 with SMTP id 47so5731718yhr.0 for ; Mon, 16 Jul 2012 11:22:14 -0700 (PDT) In-Reply-To: <21AAF9D0-D643-4A43-A194-DC4025E398C9@polytechnique.org> (Alan Schmitt's message of "Mon, 16 Jul 2012 14:48:49 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org >>>>> Alan Schmitt writes: > Thanks a lot, that was most helpful. Here is what I ended up with, if it may > help other people: > (org-add-link-type "x-devonthink-item" 'org-devonthink-open) > (defun org-devonthink-open (link) > "Open the devonthink link." > (start-process (concat "open " link) nil "open" > (concat "x-devonthink-item:" link))) I created org-devonthink.el a long time ago: https://github.com/jwiegley/dot-emacs/blob/master/lisp/org-devonthink.el John