From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: How to get the link the point is on? Date: Fri, 26 Sep 2014 00:44:42 +0200 Message-ID: <871tqz8gmd.fsf@wmi.amu.edu.pl> References: <8761gb8lq2.fsf@wmi.amu.edu.pl> <87k34rmksx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXHmT-0007ns-W9 for emacs-orgmode@gnu.org; Thu, 25 Sep 2014 18:45:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXHmO-0006um-9P for emacs-orgmode@gnu.org; Thu, 25 Sep 2014 18:44:57 -0400 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:52677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXHmO-0006sJ-1u for emacs-orgmode@gnu.org; Thu, 25 Sep 2014 18:44:52 -0400 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 928CE50DC6 for ; Fri, 26 Sep 2014 00:44:45 +0200 (CEST) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XgZn9V+pJsZP for ; Fri, 26 Sep 2014 00:44:45 +0200 (CEST) Received: from localhost (111-128.echostar.pl [213.156.111.128]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 3CF1B50DB1 for ; Fri, 26 Sep 2014 00:44:45 +0200 (CEST) In-reply-to: <87k34rmksx.fsf@gmail.com> 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 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 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;). > > 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 , > | . > | > | (org-toggle-link-display) > | > | Toggle the literal or descriptive display of links. > `---- > > ? Yes, I do, but this is not what I'm looking for. I want to see the `descriptive' links, only to be able (sometimes) to look up the actual target of the link. (And I don't like the idea of moving the point to the end, pressing to delete the rightmost bracket, and then pressing C-\ to undo it...) Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University