From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: question about org-element-map missing link in caption Date: Tue, 27 Jan 2015 15:46:20 +0100 Message-ID: <87d26046yr.fsf@nicolasgoaziou.fr> References: <87k3084h9s.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43844) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YG7Oq-00028B-2g for emacs-orgmode@gnu.org; Tue, 27 Jan 2015 09:45:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YG7Ol-0008Cr-IT for emacs-orgmode@gnu.org; Tue, 27 Jan 2015 09:45:52 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:50472) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YG7Ol-0008CY-DR for emacs-orgmode@gnu.org; Tue, 27 Jan 2015 09:45:47 -0500 In-Reply-To: (John Kitchin's message of "Tue, 27 Jan 2015 08:48:52 -0500") 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: John Kitchin Cc: emacs-orgmode@gnu.org John Kitchin writes: > I tried it, and indeed the links in captions are found, but something is > still not right. The :begin properties of the links in the caption seem > to be relative to the point after the : in the caption. That isn't > obvious and makes it hard to store a marker to the link. Is that > expected behavior? This is an implementation detail. Parsing for secondary strings (e.g., captions, some keywords like "TITLE") happens in a temporary buffer. You cannot trust buffer positions in this case. Regards,