Re: [O] DevonThink links in org mode?

2012-07-18 Thread Alan Schmitt
On 16 juil. 2012, at 20:22, John Wiegley wrote: I created org-devonthink.el a long time ago: https://github.com/jwiegley/dot-emacs/blob/master/lisp/org-devonthink.el Really nice, thanks a lot! Alan

[O] DevonThink links in org mode?

2012-07-16 Thread Alan Schmitt
Hello, I discovered that message: links work great in org-mode (it opens the message in Mail.app). However, if I click on a link from DevonThink (which looks like this: x-devonthink-item://700A651C-E395-462C-873A-13FC92035FBD), I get a dialog which says no match, create this as a new heading?.

Re: [O] DevonThink links in org mode?

2012-07-16 Thread Bastien
Hi Alan, Alan Schmitt alan.schm...@polytechnique.org writes: Is there a way to tell org-mode to pass the resolution of this link to the system? (For instance, if I do a open x-devonthink-item://700A651C-E395-462C-873A-13FC92035FBD in a terminal window, things work as expected.) You want to

Re: [O] DevonThink links in org mode?

2012-07-16 Thread Alan Schmitt
On 16 juil. 2012, at 14:26, Bastien wrote: Hi Alan, Alan Schmitt alan.schm...@polytechnique.org writes: Is there a way to tell org-mode to pass the resolution of this link to the system? (For instance, if I do a open x-devonthink-item://700A651C-E395-462C-873A-13FC92035FBD in a terminal

Re: [O] DevonThink links in org mode?

2012-07-16 Thread Bastien
Alan Schmitt alan.schm...@polytechnique.org writes: Thanks a lot, that was most helpful. Here is what I ended up with, if it may help other people: Thanks! I added it to Worg: http://orgmode.org/worg/org-hacks.html#sec-3-15 Best, -- Bastien

Re: [O] DevonThink links in org mode?

2012-07-16 Thread John Wiegley
Alan Schmitt alan.schm...@polytechnique.org 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.

Re: [O] DevonThink links in org mode?

2012-07-16 Thread Bastien
John Wiegley jo...@newartisans.com writes: I created org-devonthink.el a long time ago: https://github.com/jwiegley/dot-emacs/blob/master/lisp/org-devonthink.el I added this to the section in worg/org-hacks.org, thanks! -- Bastien