From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: python sessions Date: Wed, 20 Mar 2013 12:54:39 -0500 Message-ID: References: <51496061.20706@easy-emacs.de> <20524.1363795610@alphaville> <5149ED11.6000502@easy-emacs.de> <21887.1363800343@alphaville> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UINDm-00081c-02 for emacs-orgmode@gnu.org; Wed, 20 Mar 2013 13:54:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UINDk-0001Bg-OI for emacs-orgmode@gnu.org; Wed, 20 Mar 2013 13:54:41 -0400 Received: from mail-la0-x233.google.com ([2a00:1450:4010:c03::233]:64357) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UINDk-0001BM-Ey for emacs-orgmode@gnu.org; Wed, 20 Mar 2013 13:54:40 -0400 Received: by mail-la0-f51.google.com with SMTP id fo13so3506150lab.10 for ; Wed, 20 Mar 2013 10:54:39 -0700 (PDT) In-Reply-To: <21887.1363800343@alphaville> 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: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org On Wed, Mar 20, 2013 at 12:25 PM, Nick Dokos wrote: > Andreas R=C3=B6hler wrote: > >> Seems `org-babel-execute':python doesn't get the session flag. >> >> Edebug: org-babel-execute:python >> org-babel-execute:python >> executing Python code block... >> [4 times] >> Result: ((:comments . #1=3D"") (:shebang . #1#) (:cache . "no") >> (:padline . #1#) (:noweb . "no") (:tangle . "no") (:exports >> . "results") (:results . "replace output") (:hlines . "no") >> (:padnewline . "yes") (:session) (:result-type . output) > > Sure it does: ^^^^^^^^^^ > > What it does with it is another matter however. Am I missing something? I was thinking the concern was over not having the session named properly, but might be wrong (Andreas could confirm). I've not used python prior to this, but I use R almost daily in Org and if I do #+begin_src R :session R, I get a buffer actually named =3DR=3D. In this case, I expected the buffer name would be *PyFoo*. Checking if it was an issue with asterisks, I used =3D:session py=3D and still just get the default *Python* buffer created. John > > Nick > >> (:result-params "output" "replace") (:rowname-names) (:colname-names)) >> >> Result: (:session) >> >> Result: nil >> >