emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeff Horn <jrhorn424@gmail.com>
To: Anthony Lander <anthonylander@yahoo.com>
Cc: emacs-orgmode Mode <emacs-orgmode@gnu.org>
Subject: Re: Looking for help linking to an org document on mac os x
Date: Wed, 12 Jan 2011 10:49:28 -0500	[thread overview]
Message-ID: <AANLkTinS+bau916F5PAU6nsbLRp9dUFzhBjNkq2rnY+Q@mail.gmail.com> (raw)
In-Reply-To: <C440A9CC-2379-4B05-A54D-A1097B95F03C@yahoo.com>

On Wed, Jan 12, 2011 at 10:05 AM, Anthony Lander
<anthonylander@yahoo.com> 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/

  reply	other threads:[~2011-01-12 15:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-12 15:05 Looking for help linking to an org document on mac os x Anthony Lander
2011-01-12 15:49 ` Jeff Horn [this message]
2011-01-12 17:07   ` Anthony Lander
2011-01-12 18:53     ` Jeff Horn

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=AANLkTinS+bau916F5PAU6nsbLRp9dUFzhBjNkq2rnY+Q@mail.gmail.com \
    --to=jrhorn424@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).