From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Iverson Subject: Re: org-babel and empty code blocks : publishing html Date: Thu, 09 Sep 2010 11:43:42 -0500 Message-ID: <4C890EBE.3080906@ccbr.umn.edu> References: <878w3a5158.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=48983 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OtkDz-0002he-Cm for emacs-orgmode@gnu.org; Thu, 09 Sep 2010 12:43:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OtkDy-0003SA-4p for emacs-orgmode@gnu.org; Thu, 09 Sep 2010 12:43:47 -0400 Received: from walleye.ccbr.umn.edu ([128.101.116.11]:2417) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OtkDy-0003S4-0E for emacs-orgmode@gnu.org; Thu, 09 Sep 2010 12:43:46 -0400 In-Reply-To: <878w3a5158.fsf@gmail.com> 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: Eric Schulte Cc: emacs-orgmode@gnu.org, Richard Riley Eric Schulte wrote: > I'd think adding an ":exports none" header argument should be > sufficient. > If the code block is empty, I doesn't appear so. If you put in a literal nil in the code block, then :exports none does as expected. > Best -- Eric > > Richard Riley writes: > >> On my journal capture template I include a #begin_src and #end_src block >> as I frequently want to journal code. Being lazy I dont >> necessarily want to delete this block even if I have no code in that >> org-entry. Is it possible to suppress the output "nil" which is >> generated for the html export for empty code blocks? >> >> >> _______________________________________________ >> 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 > > _______________________________________________ > 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