From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: [feature request] more informative error message when calling an undefined src block Date: Wed, 11 Jan 2017 15:33:02 +0000 Message-ID: <877f61a9xt.fsf@delle7240.chemeng.ucl.ac.uk> References: <871swcl2bq.fsf@ucl.ac.uk> <96762a273fe0404fb647c95179e9f1bd@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> Reply-To: Eric S Fraga Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRNtw-0000ye-Vr for emacs-orgmode@gnu.org; Wed, 11 Jan 2017 13:45:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cRNtt-0005xa-QI for emacs-orgmode@gnu.org; Wed, 11 Jan 2017 13:45:37 -0500 Received: from mail-db5eur01on0091.outbound.protection.outlook.com ([104.47.2.91]:55264 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cRNtt-0005xO-FF for emacs-orgmode@gnu.org; Wed, 11 Jan 2017 13:45:33 -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" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tuesday, 10 Jan 2017 at 12:26, Nicolas Goaziou wrote: [...] > Could you provide an ECM? Yes, of course: #+begin_src org ,* Simple illustration of nil link error message In table [[mytable]], there are some numbers ,** the table :noexport: ,#+name: mytable | x | y | |---+---| | 1 | 1 | | 2 | 4 | ,#+TBLFM: $2=3D$1^2 #+end_src There is a reference to a table which is in a subtree that is not to be exported. The error message is user-error: Unable to resolve link: nil This ECM may appear contrived but, when working with a large document, it is easy to comment out or exclude sections that, it turns out, have material within that is referenced from elsewhere. This is difficult to track down when exporting. If the error message had "nil" above replaced by "mytable", it would make all the difference! Many thanks, eric =2D-=20 : Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.2-104-gf5b7de --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWHZQLgAKCRDIkZPY//z2 ffOeAKCEpqTahJjS5YBuEGwvt9eJo40F2gCeLGFqkL1Rvisj0IL3VhVatvCOzuw= =lCBb -----END PGP SIGNATURE----- --=-=-=--