From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= Subject: Re: python sessions Date: Wed, 20 Mar 2013 18:21:25 +0100 Message-ID: <5149F015.3050701@easy-emacs.de> References: <16146.1363748839@alphaville> <51495ADB.7020609@easy-emacs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIMgd-00021Z-28 for emacs-orgmode@gnu.org; Wed, 20 Mar 2013 13:20:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIMgb-0004ZC-7x for emacs-orgmode@gnu.org; Wed, 20 Mar 2013 13:20:26 -0400 Received: from moutng.kundenserver.de ([212.227.17.10]:51852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIMga-0004Yl-Tx for emacs-orgmode@gnu.org; Wed, 20 Mar 2013 13:20:25 -0400 In-Reply-To: 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: Ista Zahn Cc: emacs-orgmode@gnu.org [ ... ] >> AFAIU :session is broken, because Python shell as opened by run-python or >> py-shell isn't used by ob-babel. >> Seems ob-babel sends it's code w/ an own shell command, thus opening a new >> python shell internally every time. >> >> Did :session ever work? Then I might be wrong with this comment. > > Not only did it work, it currently works for me. That's good news, so it might be fixed soon. I seem to remember > bad interaction with python modes other than the one shipped with > emacs. Shipping should not affect the code ;) Well, if you feel disturbed by python-mode.el, please file a bug-report at https://bugs.launchpad.net/python-mode python-mode.el prepares some keys and fontifying differently but should not touch python.el commands. In case it does, probably should change that... Andreas [ ... ]