From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: How to get the link the point is on? Date: Thu, 25 Sep 2014 23:41:12 +0200 Message-ID: <877g0rpedj.fsf@gmx.us> References: <8761gb8lq2.fsf@wmi.amu.edu.pl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXGnE-0001s2-AR for emacs-orgmode@gnu.org; Thu, 25 Sep 2014 17:41:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXGn8-0001pX-3J for emacs-orgmode@gnu.org; Thu, 25 Sep 2014 17:41:40 -0400 Received: from plane.gmane.org ([80.91.229.3]:40703) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXGn7-0001ou-TK for emacs-orgmode@gnu.org; Thu, 25 Sep 2014 17:41:34 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XXGmz-0003hf-Br for emacs-orgmode@gnu.org; Thu, 25 Sep 2014 23:41:25 +0200 Received: from 217.130.110.20 ([217.130.110.20]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Sep 2014 23:41:25 +0200 Received: from rasmus by 217.130.110.20 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Sep 2014 23:41:25 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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 echo area > (something like hovering over a link in a web browser). > > I skimmed through org.el, and either I couldn't find a function which > does it, or this email is a feature request;). If point is on a link you can (org-element-property :raw-link (org-element-context)) Hope it helps, Rasmus -- May the Force be with you