[Top][All Lists]

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

[O] [babel, ess] How can I make S-RET to be multi-session friendly?

From: Mikhail Titov
Subject: [O] [babel, ess] How can I make S-RET to be multi-session friendly?
Date: Thu, 09 Aug 2012 13:44:09 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (windows-nt)


There is a wonderful post[1] on how to make S-RET to do handy things in
ESS mode. However I often find myself working on several Org documents
from different folders.

It is quite inconvenient to change a directory in =*R*= buffer each time
I work on different document.

Is there a neat way to somehow reuse Org mode property =session= that I
set buffer wide?

Also for some reason

#+PROPERTY: session *Rsomename*

does not override session name set in =org-babel-default-header-args:R=
even after =C-c C-c= on it when I re-evaluate babel code block with =C-c
C-c= on code block, while explicit block header =:session *Rsomename*=
makes difference.

,----[ snippet from dot emacs ]
| (setq org-babel-default-header-args:R
|       '((:results . "output") (:session . "*R*")))

I'm running Org-mode version 7.8.10 (release_7.8.10-658-g451191.dirty)



reply via email to

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