emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [babel] subtree evaluation with results outside the subtree


From: Eric Schulte
Subject: Re: [O] [babel] subtree evaluation with results outside the subtree
Date: Wed, 05 Sep 2012 12:03:33 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

Andreas Leha <address@hidden> writes:

> Hi all,
>
> I have the following question.  Consider the following simple org file
>
> #+begin_org
> * Subtree to eval (with C-c C-v s)
> #+name: some_test
> #+begin_src R
>   5+1
> #+end_src
>
>
> * another subtree containing the result
>
> #+results: some_test
> : 6
>
> #+end_org
>
> (a)
> When I evaluate the source block interactively (C-c C-c) the existing
> results get updated.
>
> (b)
> When I evaluate the subtree containing the source block, on the other
> hand, a new result block is created.
>
> While the behaviour in (b) is understandable, I'd like (b) to behave
> like (a).
> So, is there a way I can evaluate all source blocks in a
> subtree, but have their result blocks updated even if they are not
> located in that subtree?
>
> Many thanks,
> Andreas
>
>

Hi Andreas,

I've just pushed up a patch which widens any buffer restrictions when
inserting results.

Cheers,

-- 
Eric Schulte
http://cs.unm.edu/~eschulte



reply via email to

[Prev in Thread] Current Thread [Next in Thread]