From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: (no subject) Date: Tue, 20 Sep 2016 22:32:51 +0200 Message-ID: <87lgyml3bg.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmRir-0007hv-Th for emacs-orgmode@gnu.org; Tue, 20 Sep 2016 16:32:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmRin-0000QK-Vi for emacs-orgmode@gnu.org; Tue, 20 Sep 2016 16:32:57 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:57483) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmRin-0000Pl-PV for emacs-orgmode@gnu.org; Tue, 20 Sep 2016 16:32:53 -0400 In-Reply-To: (John Brodie's message of "Mon, 19 Sep 2016 16:38:54 +0000") 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" To: John Brodie Cc: emacs-orgmode@gnu.org Hello, John Brodie writes: > I'm creating a literate program using org-babel with python. If I change > the output of a source block to 'raw' the results are not replaced on > each run, they are appended. This is quite annoying, because it means > manual editing everytime I need to re-run my program. You should use `drawer' instead of `raw' then. `raw' results cannot be replaced, as you noticed, because there is no way to know where their boundaries are. Regards, -- Nicolas Goaziou