From: Anthony Lander <anthonylander@yahoo.com>
To: Christian Zang <christian.zang@fh-weihenstephan.de>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Link-protocols
Date: Fri, 26 Feb 2010 12:18:23 -0500 [thread overview]
Message-ID: <FA5AB83B-645C-4950-AFE8-65B34E041911@yahoo.com> (raw)
In-Reply-To: <F9521E53-A656-4E37-A70F-9A96771EF559@gmail.com>
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
next prev parent reply other threads:[~2010-02-26 17:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-26 13:57 Link-protocols Christian Zang
2010-02-26 17:18 ` Anthony Lander [this message]
2010-02-26 20:32 ` Link-protocols Christian Zang
[not found] ` <C5C97495-256A-4E77-A771-64162AAE9424@yahoo.com>
[not found] ` <71467D6F-AFC1-41D1-98E1-769CEAC861BB@gmail.com>
[not found] ` <709E8EC5-5644-4A8D-A512-19BF3A7F4BEC@yahoo.com>
[not found] ` <1E6E90F1-CE8E-45E4-B420-10E2AF9BE493@gmail.com>
[not found] ` <2EC25EC8-DB09-44A0-90DE-7F394DBB0D34@yahoo.com>
2010-03-01 19:03 ` Link-protocols Christian Zang
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=FA5AB83B-645C-4950-AFE8-65B34E041911@yahoo.com \
--to=anthonylander@yahoo.com \
--cc=christian.zang@fh-weihenstephan.de \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.