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 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 just ex

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

2014-09-26 Thread Subhan Michael Tindall
bject: Re: [O] How to get the link the point is on? [SNIP] > > you know about > > > > ,[ C-h f org-toggle-link-display RET ] > > | org-toggle-link-display is an interactive compiled Lisp function in > > | `org.el'. > > | > > | It is bound to,

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.

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 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

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

2014-09-25 Thread Thorsten Jolitz
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 i

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 e

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

2014-09-25 Thread Kyle Meyer
Marcin Borkowski 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 does what you want.

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

2014-09-25 Thread Rasmus
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 i

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

2014-09-25 Thread Marcin Borkowski
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 echo area (something like hoveri