emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [babel, ess] How can I make S-RET to be multi-session friendly?
@ 2012-08-09 18:44 Mikhail Titov
  2012-08-09 19:33 ` Achim Gratz
  2012-08-10 12:42 ` Eric Schulte
  0 siblings, 2 replies; 12+ messages in thread
From: Mikhail Titov @ 2012-08-09 18:44 UTC (permalink / raw)
  To: emacs-orgmode

Hello!

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)

Footnotes: 
[1]  http://www.kieranhealy.org/blog/archives/2009/10/12/make-shift-enter-do-a-lot-in-ess/

-- 
Mikhail

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-08-23 22:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-09 18:44 [babel, ess] How can I make S-RET to be multi-session friendly? Mikhail Titov
2012-08-09 19:33 ` Achim Gratz
2012-08-10 12:42 ` Eric Schulte
2012-08-10 18:54   ` Mikhail Titov
2012-08-11  3:37     ` Eric Schulte
2012-08-11 14:33       ` Andrew Young
2012-08-14 13:17         ` Eric Schulte
2012-08-14 21:48           ` Mikhail Titov
2012-08-14 21:59             ` Bastien
2012-08-16 21:06               ` Mikhail Titov
2012-08-17 14:29                 ` Eric Schulte
2012-08-23 22:11                   ` Mikhail Titov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).