emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] :session question


From: Andreas Röhler
Subject: Re: [O] :session question
Date: Wed, 27 Mar 2013 09:52:30 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130307 Thunderbird/17.0.4

Am 26.03.2013 16:31, schrieb Eric Schulte:
Achim Gratz <address@hidden> writes:

Am 26.03.2013 13:37, schrieb Eric Schulte:
This can be done system wide by setting the language-specific header
arguments.

I've yet to see an example on how to do this.


     #+begin_src emacs-lisp
       (setq org-babel-default-header-args:R
             '((:session . "org-R")))
     #+end_src

     #+RESULTS:
     | (:session . org-R) |

     #+begin_src R
     x <- 1
     x
     #+end_src

     #+RESULTS:
     : 1

     #+begin_src R
     x
     #+end_src

     #+RESULTS:
     : 1



Hi,

this looks very confusing for me.

So, what is the purpose of a named session?
Understood it being a name-space, whose values don't affect the other ones.
What's in python-mode a dedicated shell.

As it reads, it clutters even the global languages name space?

Best,

Andreas






reply via email to

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