From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maurizio Vitale Subject: Re: org-babel feature request Date: Sat, 10 Oct 2009 23:01:40 -0400 Message-ID: <87y6niws4r.fsf@polymath-solutions.com> References: <873a5qyb9h.fsf@cuma.i-did-not-set--mail-host-address--so-tickle-me> <87ocoezm01.fsf@stats.ox.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MwoeC-0002EP-5m for emacs-orgmode@gnu.org; Sat, 10 Oct 2009 22:59:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mwoe7-00027x-Ju for emacs-orgmode@gnu.org; Sat, 10 Oct 2009 22:58:59 -0400 Received: from [199.232.76.173] (port=54934 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mwoe7-00027o-Dk for emacs-orgmode@gnu.org; Sat, 10 Oct 2009 22:58:55 -0400 Received: from host.dbahosting.com ([209.59.183.4]:41831) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mwoe6-0003PQ-Vl for emacs-orgmode@gnu.org; Sat, 10 Oct 2009 22:58:55 -0400 In-Reply-To: <87ocoezm01.fsf@stats.ox.ac.uk> (Dan Davison's message of "Sat, 10 Oct 2009 22:45:50 -0400") 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: Dan Davison Cc: emacs-orgmode@gnu.org >>>>> "Dan" == Dan Davison writes: Dan> Maurizio Vitale Dan> Dan> writes: Dan> [...] >> It would be nice if it was possible to have multiple result >> sections. This way I could embed in the document the result that >> was obtained when writing the documentation, while still allowing >> the person following the recipe to evaluate again the shell >> script and get the results on his machine. >> >> The first section should be read-only (not necessarily physically >> read-only, but skipped by C-c C-c). The others may be >> re-evaluated over and over until the end user has a valid >> configuration. Dan> Hi Maurizio, Dan> Once I've obtained the results that I want to "freeze", I would Dan> manually alter (or even delete) the #+resname tag, so that the Dan> source block no longer overwrites it. Is that simple solution Dan> appropriate? I'm not yet seeing the advantage of the more Dan> complex possibilities. That is the obvious possibility, but at times you may want to re-evaluate those: either the configuration has changed, or the software you're documenting has changed or the script you're using is buggy. Yes you could reintroduce the #+resname tag when needed, but I'm hoping to get more automation than M-x shell-command-on-region. I've just started using org-babel in this way, so I'm not sure at all of what features I'll feel in the end needed. This seems one right now. Best regards, Maurizio --