From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Horn Subject: Re: Looking for help linking to an org document on mac os x Date: Wed, 12 Jan 2011 10:49:28 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=36284 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pd2xL-0001Rx-AV for emacs-orgmode@gnu.org; Wed, 12 Jan 2011 10:49:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pd2xJ-0005Uy-QT for emacs-orgmode@gnu.org; Wed, 12 Jan 2011 10:49:50 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:56200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pd2xJ-0005Uu-M4 for emacs-orgmode@gnu.org; Wed, 12 Jan 2011 10:49:49 -0500 Received: by fxm12 with SMTP id 12so658947fxm.0 for ; Wed, 12 Jan 2011 07:49:48 -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 Mode On Wed, Jan 12, 2011 at 10:05 AM, Anthony Lander wrote: > Hi everyone, > > I'd like to be able to link to an org document from other applications, and > especially to a particular line or search term in a document. The idea is > that I could, for example, put a link into an iCal entry, and when I click > it, emacs would show the file and move the point to the correct location. > > Basically, I'm trying to make something like a URL, but for org, that the OS > would dispatch correctly. Something like > org://path/to/some/file:*search-term. > > I've poked around quite a bit, but I can't figure out an easy way to do > this. Does anyone have a suggestion? Hi, Anthony. Try this: 1) Right click on an org file in Finder. 2) Select "Get Info" 3) Change the default "Open with" application to Aquamacs (or Cocoa Emacs, whatever you use) 4) Click the "Change All" button. Confirm. 5) When you want to add a link, use the following syntax. file://localhost/path/to/some/file.org HTH, Jeff -- Jeffrey Horn http://www.failuretorefrain.com/jeff/