From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: cleaning all the #+results from an org document Date: Thu, 28 Jul 2011 13:58:46 +0200 Message-ID: References: <21734.1311841912@maps> <29736.1311853272@maps> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:40990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QmPF6-0002UO-Cr for emacs-orgmode@gnu.org; Thu, 28 Jul 2011 07:59:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QmPF5-0000qG-AC for emacs-orgmode@gnu.org; Thu, 28 Jul 2011 07:59:08 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:51065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QmPF5-0000q8-4D for emacs-orgmode@gnu.org; Thu, 28 Jul 2011 07:59:07 -0400 Received: by ewy9 with SMTP id 9so2168494ewy.0 for ; Thu, 28 Jul 2011 04:59:06 -0700 (PDT) In-Reply-To: <29736.1311853272@maps> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Stephen Eglen Cc: emacs-orgmode@gnu.org Hi Stephen, On Thu, Jul 28, 2011 at 1:41 PM, Stephen Eglen wrote: >> >> If you don't want the results to be produced at all, you can always use >> the babel header option[1] :results silent. > > Thanks Suvayu, I'm gradually learning about all the various ways output > can be exported vs shown in the org buffer. =A0Am I right in understandin= g > that :results silent just affects whether or not output is written into > the .org buffer, not whether it is exported or not (e.g. into html?) > Since I don't know what you are trying to achieve, I'll take a guess. You wish babel to evaluate the source block and export the results. If so, then I am afraid the results will be present in the buffer. If however you only want the source block for fontification and don't want it to be evaluated, you could try my solution or even better would be what Seb suggested. However if you wish babel to evaluate the block but suppress the results, then you should use my suggestion. The export preferences can be controlled by :exports header. These are all documented in detail in the manual (referenced in my earlier email). > Stephen Hope this helps. --=20 Suvayu Open source is the future. It sets us free.