From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: How to get to the link destination? Date: Tue, 21 Oct 2014 16:12:48 +0200 Message-ID: <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]:43919) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgaBK-0003ez-4G for emacs-orgmode@gnu.org; Tue, 21 Oct 2014 10:13:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgaBJ-0003Xw-0i for emacs-orgmode@gnu.org; Tue, 21 Oct 2014 10:13:02 -0400 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:33290) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgaBI-0003Xf-QC for emacs-orgmode@gnu.org; Tue, 21 Oct 2014 10:13:00 -0400 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 41D1E41477 for ; Tue, 21 Oct 2014 16:12:58 +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 bZkRllqlXF4b for ; Tue, 21 Oct 2014 16:12:58 +0200 (CEST) Received: from localhost (unknown [IPv6:2001:808:114:6:c01c:b446:c425:e3d7]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 237544146C for ; Tue, 21 Oct 2014 16:12:58 +0200 (CEST) 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: Org mailing list 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, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University