From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: How to get to the link destination? Date: Tue, 21 Oct 2014 19:18:11 -0400 Message-ID: References: <87r3y1fr4v.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]:34528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xgih1-0000tH-R3 for emacs-orgmode@gnu.org; Tue, 21 Oct 2014 19:18:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xgigw-0004KZ-Gl for emacs-orgmode@gnu.org; Tue, 21 Oct 2014 19:18:19 -0400 Received: from smtp.andrew.cmu.edu ([128.2.105.202]:46880) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xgigw-0004KU-Bg for emacs-orgmode@gnu.org; Tue, 21 Oct 2014 19:18:14 -0400 In-Reply-To: <87r3y1fr4v.fsf@wmi.amu.edu.pl> (Marcin Borkowski's message of "Tue, 21 Oct 2014 16:12:48 +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: Marcin Borkowski Cc: Org mailing list Marcin Borkowski writes: that looks like a great way to me! > Hi all, > > as in the subject. I want to do something /at the destination of the > link/ the point is at (more precisely: get some text property of that > place). This is what I came up with: > > (save-excursion > (org-open-at-point) > (get-text-property (point) :some-property)) > > Is there a better/faster way, especially knowing that the link is an > internal one? > > Best, -- ----------------------------------- John Kitchin Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 http://kitchingroup.cheme.cmu.edu