From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Bug: Attempt to export buffer with invalid #+BEGIN_SRC fails with cryptic message [6.36trans] Date: Tue, 13 Jul 2010 23:35:40 +0200 Message-ID: <87pqyr12vn.wl%dmaus@ictsoc.de> References: <4C3C3197.4010307@no8wireless.co.nz> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============1724013158==" Return-path: Received: from [140.186.70.92] (port=54156 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYn9C-0000Jw-IR for emacs-orgmode@gnu.org; Tue, 13 Jul 2010 17:36:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYn9B-0003hi-8H for emacs-orgmode@gnu.org; Tue, 13 Jul 2010 17:36:14 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:59395) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYn9B-0003hd-0U for emacs-orgmode@gnu.org; Tue, 13 Jul 2010 17:36:13 -0400 In-Reply-To: <4C3C3197.4010307@no8wireless.co.nz> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Aidan Gauland Cc: emacs-orgmode@gnu.org --===============1724013158== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Tue_Jul_13_23:35:40_2010-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Tue_Jul_13_23:35:40_2010-1 Content-Type: text/plain; charset=US-ASCII Aidan Gauland wrote: >[1 ] >[1.1 ] >Attempting to export a buffer with a #+BEGIN_SRC block with no language >specified (i.e. an argumentless #+BEGIN_SRC block) fails with the >message "apply: Wrong type argument: consp, nil". This is rather >cryptic; it would be nice if Org-publish could say where it failed even >if not why it failed. ,---- | commit e8033b7f04a09cdbb7b092be5a7ed1f62828694d | Author: Eric Schulte | Date: Mon Jul 12 10:42:59 2010 -0700 | | org-exp: raise an error when trying to export code blocks w/o languages | | * lisp/ob.el (org-babel-get-src-block-info): ensure that we don't | match (and return info for) source blocks without a language | | * lisp/org-exp.el (org-export-replace-src-segments-and-examples): | updated source code block regexp so that the presence of a language | can be explicitly checked. Also now raising an error when a source | block does not have a language. `---- So there will be a more helpful error message. HTH -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Tue_Jul_13_23:35:40_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkw83CwACgkQma24O1pEeOaOngEAhT+r7w0Tz47w2X24RCQTeRx5 tcYMIJlsbnjBvm6z+TcBAOssapwGYjBr2JUUUNVbTSZrFBok+06foQNeOlB1NETo =PN4u -----END PGP SIGNATURE----- --pgp-sign-Multipart_Tue_Jul_13_23:35:40_2010-1-- --===============1724013158== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1724013158==--