From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Ridolfi Subject: Re: Bug: Attempt to export buffer with invalid #+BEGIN_SRC fails with cryptic message [6.36trans] Date: Tue, 13 Jul 2010 12:38:07 +0200 Message-ID: <83k4oz1xbk.fsf@yahoo.it> References: <4C3C3197.4010307@no8wireless.co.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=56624 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYcsG-0003tg-5U for emacs-orgmode@gnu.org; Tue, 13 Jul 2010 06:38:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYcsE-0004uQ-RI for emacs-orgmode@gnu.org; Tue, 13 Jul 2010 06:38:04 -0400 Received: from slim-4a.inet.it ([213.92.5.126]:54234) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYcsE-0004uB-Fg for emacs-orgmode@gnu.org; Tue, 13 Jul 2010 06:38:02 -0400 In-Reply-To: <4C3C3197.4010307@no8wireless.co.nz> (Aidan Gauland's message of "Tue, 13 Jul 2010 21:27:51 +1200") 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 Aidan Gauland writes: > Attempting to export a buffer with a #+BEGIN_SRC block with no language > specified Well in the manual (Literal examples) it is written that: This is done with the `src' block, where you also need to specify the name of the major mode ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ that should be used to fontify the example: (underline is mine) > (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. reading the manual could be a first good option; asking the list a second. Cheers, Giovanni