From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Popineau Subject: org-export-resolve-id-link Date: Fri, 10 Jun 2016 22:29:02 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1141aa2ad2e2f80534f264fa Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBT3T-0007qM-Jp for emacs-orgmode@gnu.org; Fri, 10 Jun 2016 16:29:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bBT3S-0004bN-KM for emacs-orgmode@gnu.org; Fri, 10 Jun 2016 16:29:23 -0400 Received: from mail-oi0-x232.google.com ([2607:f8b0:4003:c06::232]:35519) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBT3S-0004bJ-FJ for emacs-orgmode@gnu.org; Fri, 10 Jun 2016 16:29:22 -0400 Received: by mail-oi0-x232.google.com with SMTP id w5so50301950oib.2 for ; Fri, 10 Jun 2016 13:29:22 -0700 (PDT) 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: "emacs-orgmode@gnu.org" --001a1141aa2ad2e2f80534f264fa Content-Type: text/plain; charset=UTF-8 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 ? Thanks in advance. Fabrice --001a1141aa2ad2e2f80534f264fa Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Again in the need of some hint.

<= div>I am exporting some subtree.
There is a custom_id pointing in= the same org=C2=A0
file but outside of the subtree.
* Foo
:PROPERTIES:
:CUSTOM_ID: foo
:END:

Lorem ipsum...

<= div>* Bar

[[#foo]]

= When I try to export the second subtree, I get
an error from #= 9;org-export-resolve-id-link.

(user-error Unable t= o resolve link: "foo")

What is the e= asiest way to trap this error
so that I can compute something mys= elf for this link ?

Thanks in advance.
<= br>
Fabrice


--001a1141aa2ad2e2f80534f264fa--