On Wed, 11 Nov 2015, Xebar Saram wrote:
thanks Chuck
this sounds very interesting!
[...]
i then loaded a .org file with R code and entered C-c C-n in the R code
block yet nothing happens and the point moves to the end of the block
are there additional config needed (keybinds, etc?), what am
thanks Chuck
this sounds very interesting!
i installed polymode from melpa and added this config
#+BEGIN_SRC emacs-lisp :results none
(use-package polymode
:ensure t
:config
(require 'poly-R)
(require 'poly-org)
(add-to-list 'auto-mode-alist '("\\.org" . poly-org-mode))
)
#+END_SRC
i then lo
On Wed, 11 Nov 2015, Ista Zahn wrote:
I recommend using polymode[1] as a more general solution to the need to
interact with code blocks without pulling up a separate edit buffer. It
seamlessly switches major modes when point is inside a code block.
Best,
Ista
[1] https://github.com/vspinu/poly
I recommend using polymode[1] as a more general solution to the need to
interact with code blocks without pulling up a separate edit buffer. It
seamlessly switches major modes when point is inside a code block.
Best,
Ista
[1] https://github.com/vspinu/polymode
On Nov 11, 2015 12:11 AM, "Xebar Sar
Hi
I actually find it annoying in ESS to keep pressing C-c ' each time i want
to eval a single line of code in a code block. if this could work for R
code this would be fantastic for me
thx
Z
On Tue, Nov 10, 2015 at 8:19 PM, Carlos Henrique Machado S Esteves <
ch.machado.este...@gmail.com> wrot
Hello,
Carlos Henrique Machado S Esteves writes:
> You are right, I've updated the patch.
Thank you. Some comments follow.
> * ob-core.el (org-babel-execute-src-block-region): Execute only active region
> of
> the current source block. Same as `org-babel-execute-src-block', but
> use only th
Hello Chuck,
Thank you for the feedback.
> You might want to check that point and mark are both inside the src
block. Otherwise, the results are unpredictable.
You are right, I've updated the patch.
> ess-mode, python-mode, sh-mode and octave-mode already provide this
capability (and a lot more)
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
org-babel-execute-s
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
org-babel-execute-src-block.
Thanks,
Carlos
From d3f67fb0f37667af39a30c527221a43e