Re: [O] How to get the link the point is on?

2014-09-27 Thread Sebastien Vauban
Marcin Borkowski wrote: On 2014-09-25, at 23:50, Thorsten Jolitz wrote: Marcin Borkowski mb...@wmi.amu.edu.pl writes: my question is as in subject. It is done by org-open-at-point (somehow), but the logic seems to be buried in that function. What I'd like to have is a function that would

Re: [O] How to get the link the point is on?

2014-09-26 Thread Subhan Michael Tindall
[SNIP] -Original Message- From: emacs-orgmode-bounces+subhant=familycareinc@gnu.org [mailto:emacs-orgmode-bounces+subhant=familycareinc@gnu.org] On Behalf Of Marcin Borkowski Sent: Thursday, September 25, 2014 3:45 PM To: emacs-orgmode@gnu.org Subject: Re: [O] How to get

Re: [O] How to get the link the point is on?

2014-09-25 Thread Rasmus
Marcin Borkowski mb...@wmi.amu.edu.pl writes: Hi list, my question is as in subject. It is done by org-open-at-point (somehow), but the logic seems to be buried in that function. What I'd like to have is a function that would just extract the link portion (which is normally invisible) and

Re: [O] How to get the link the point is on?

2014-09-25 Thread Kyle Meyer
Marcin Borkowski mb...@wmi.amu.edu.pl wrote: [...] What I'd like to have is a function that would just extract the link portion (which is normally invisible) and displayed it in the echo area (something like hovering over a link in a web browser). There may be a better way, but I think below

Re: [O] How to get the link the point is on?

2014-09-25 Thread Jorge A. Alfaro-Murillo
Marcin Borkowski writes: Hi list, my question is as in subject. It is done by org-open-at-point (somehow), but the logic seems to be buried in that function. What I'd like to have is a function that would just extract the link portion (which is normally invisible) and displayed it in the

Re: [O] How to get the link the point is on?

2014-09-25 Thread Thorsten Jolitz
Marcin Borkowski mb...@wmi.amu.edu.pl writes: Hi list, my question is as in subject. It is done by org-open-at-point (somehow), but the logic seems to be buried in that function. What I'd like to have is a function that would just extract the link portion (which is normally invisible) and

Re: [O] How to get the link the point is on?

2014-09-25 Thread Marcin Borkowski
On 2014-09-25, at 23:50, Thorsten Jolitz wrote: Marcin Borkowski mb...@wmi.amu.edu.pl writes: Hi list, my question is as in subject. It is done by org-open-at-point (somehow), but the logic seems to be buried in that function. What I'd like to have is a function that would just extract

Re: [O] How to get the link the point is on?

2014-09-25 Thread Jorge A. Alfaro-Murillo
Rasmus writes: If point is on a link you can (org-element-property :raw-link (org-element-context)) That's way easier =) -- Jorge.