From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-export-resolve-id-link Date: Fri, 10 Jun 2016 23:51:53 +0200 Message-ID: <87ziqsempy.fsf@saiph.selenimh> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBULT-0007Im-2K for emacs-orgmode@gnu.org; Fri, 10 Jun 2016 17:52:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bBULR-0007Su-8r for emacs-orgmode@gnu.org; Fri, 10 Jun 2016 17:52:02 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:57709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBULR-0007SG-26 for emacs-orgmode@gnu.org; Fri, 10 Jun 2016 17:52:01 -0400 In-Reply-To: (Fabrice Popineau's message of "Fri, 10 Jun 2016 22:29:02 +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" To: Fabrice Popineau Cc: "emacs-orgmode@gnu.org" Hello, Fabrice Popineau writes: > Again in the need of some hint. > > I am exporting some subtree. > There is a custom_id pointing in the same org > file but outside of the subtree. > > * Foo > :PROPERTIES: > :CUSTOM_ID: foo > :END: > > Lorem ipsum... > > * Bar > > [[#foo]] > > When I try to export the second subtree, I get > an error from #'org-export-resolve-id-link. > > (user-error Unable to resolve link: "foo") > > What is the easiest way to trap this error > so that I can compute something myself for this link ? With a recent version (i.e., development), you can have a look to `org-export-with-broken-links'. Regards, -- Nicolas Goaziou