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 12:03:43 +0100 Message-ID: <87k3084h9s.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YG3ut-0001qe-Ui for emacs-orgmode@gnu.org; Tue, 27 Jan 2015 06:02:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YG3up-00086b-F5 for emacs-orgmode@gnu.org; Tue, 27 Jan 2015 06:02:43 -0500 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:55349) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YG3up-00083f-2h for emacs-orgmode@gnu.org; Tue, 27 Jan 2015 06:02:39 -0500 In-Reply-To: (John Kitchin's message of "Mon, 26 Jan 2015 19:13: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 Hello, John Kitchin writes: > In the following org document, org-element-map only finds one link, but > the buffer acts like there are two links. The free link is found, but > the link label buried in the caption is not found. However, it exports > correctly, and the caption link is clickable, so the buffer certainly > thinks it is a link. Is this expected behavior? It is. By default, `org-element-map' doesn't look into captions. See WITH-AFFILIATED optional argument. Regards, -- Nicolas Goaziou