From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-15?Q?Andreas_R=F6hler?= Subject: Re: :session question Date: Wed, 27 Mar 2013 09:52:30 +0100 Message-ID: <5152B34E.4020004@easy-emacs.de> References: <51501AF2.1070405@easy-emacs.de> <8738vjugwd.fsf@gmail.com> <51516699.6090604@gmail.com> <87ip4ezf93.fsf@med.uni-goettingen.de> <87fvzi72ve.fsf@gmail.com> <87ip4e5gai.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKm4m-0005Z3-AH for emacs-orgmode@gnu.org; Wed, 27 Mar 2013 04:51:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKm4l-0003E4-4x for emacs-orgmode@gnu.org; Wed, 27 Mar 2013 04:51:20 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:61000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKm4k-0003D6-S7 for emacs-orgmode@gnu.org; Wed, 27 Mar 2013 04:51:19 -0400 In-Reply-To: <87ip4e5gai.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: Achim Gratz , emacs-orgmode Am 26.03.2013 16:31, schrieb Eric Schulte: > Achim Gratz 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