[Top][All Lists]

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

Re: [O] [PATCH] org-babel-execute-src-block-region

From: Charles C. Berry
Subject: Re: [O] [PATCH] org-babel-execute-src-block-region
Date: Mon, 2 Nov 2015 10:19:12 -0800
User-agent: Alpine 2.20 (OSX 67 2015-01-07)

On Sun, 1 Nov 2015, Carlos Henrique Machado S Esteves wrote:

Hello, I find it useful to be able to execute only a region of a source
code block, so I've implemented a new function for that. I've tested it
with MATLAB and Python, but it should work for any mode, since it calls

You might want to check that point and mark are both inside the src block. Otherwise, the results are unpredictable.

Also note that:

ess-mode, python-mode, sh-mode and octave-mode already provide this capability (and a lot more) for R, python, shell scripts, octave/matlab and some other languages from the edit buffer.

`org-babel-demarcate-block' gives the user the ability to break up src blocks into smaller pieces so they can be run independently.



reply via email to

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