From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: Worg publishing broken? Date: Thu, 17 Feb 2011 11:27:49 -0500 Message-ID: <87r5b6mxru.fsf@fastmail.fm> References: <230744F4-C606-4378-AA25-39C2575A14C2@gmail.com> <87aahwey4u.fsf@riotblast.dunsmor.com> <871v38gceg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=55419 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pq6hW-0001ZP-Ja for emacs-orgmode@gnu.org; Thu, 17 Feb 2011 11:27:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pq6hV-0000NL-FJ for emacs-orgmode@gnu.org; Thu, 17 Feb 2011 11:27:30 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:57905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pq6hV-0000NC-BF for emacs-orgmode@gnu.org; Thu, 17 Feb 2011 11:27:29 -0500 In-Reply-To: <871v38gceg.fsf@gnu.org> (Bastien's message of "Wed, 16 Feb 2011 17:41:27 +0100") 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: Bastien Cc: Jason Dunsmore , Org Mode List , Carsten Dominik Bastien writes: > Hi Jason, > > Jason Dunsmore writes: > >>> I have today pushed two updates onto Worg which have not yet been published. >>> Maybe Worg publishing is currently broken? >> >> A recently-added section on the FAQ was using "shell" as the mode of a >> source block instead of "sh". I fixed it and re-pulled/published >> Worg. > > My bad, I added this. > > Thanks for the fix! Would there be any way to get the Worg publishing script or export of source code blocks to fail gracefully in these instances? This same issue came up a couple of weeks ago with a new tutorial. A mislabeled source code block brought the whole publishing process to a halt. One idea: instead of always throwing an error, org-export-replace-src-segments-and-examples might contain an option to replace BEGIN_SRC...END_SRC with BEGIN_EXAMPLE...END_EXAMPLE if no source block is found. Best, Matt