From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Re: Worg publishing broken? Date: Fri, 18 Feb 2011 09:58:02 +0100 Message-ID: <874o81hg85.fsf@gnu.org> References: <230744F4-C606-4378-AA25-39C2575A14C2@gmail.com> <87aahwey4u.fsf@riotblast.dunsmor.com> <871v38gceg.fsf@gnu.org> <87r5b6mxru.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=37546 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqMA3-0004GR-DP for emacs-orgmode@gnu.org; Fri, 18 Feb 2011 03:58:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqMA2-00082V-Hq for emacs-orgmode@gnu.org; Fri, 18 Feb 2011 03:57:59 -0500 Received: from mail-bw0-f41.google.com ([209.85.214.41]:44891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqMA2-00082R-Bw for emacs-orgmode@gnu.org; Fri, 18 Feb 2011 03:57:58 -0500 Received: by bwz16 with SMTP id 16so3444556bwz.0 for ; Fri, 18 Feb 2011 00:57:57 -0800 (PST) In-Reply-To: <87r5b6mxru.fsf@fastmail.fm> (Matt Lundin's message of "Thu, 17 Feb 2011 11:27:49 -0500") 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: Matt Lundin Cc: Jason Dunsmore , Org Mode List , Carsten Dominik Matt Lundin writes: > Would there be any way to get the Worg publishing script or export of > source code blocks to fail gracefully in these instances? That would be helpful indeed. As a first step, we could handle errors in a more clever way by using the variable `noninteractive', testing if Emacs is running in batch mode. In batch mode, instead of blocking the export process with a (error ...), we could just logs problems. Let's collect places where errors can block the publishing process. -- Bastien