From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: babel python example not reproducible Date: Mon, 16 Jun 2014 08:19:50 -0400 Message-ID: <87k38hf3mh.fsf@alphaville.bos.redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwVtZ-00081K-OY for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 08:20:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WwVtS-0004qk-9c for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 08:20:17 -0400 Received: from plane.gmane.org ([80.91.229.3]:40006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwVtS-0004qT-3f for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 08:20:10 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WwVtK-0001Rj-Q3 for emacs-orgmode@gnu.org; Mon, 16 Jun 2014 14:20:02 +0200 Received: from pool-98-110-160-12.bstnma.fios.verizon.net ([98.110.160.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Jun 2014 14:20:02 +0200 Received: from ndokos by pool-98-110-160-12.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Jun 2014 14:20:02 +0200 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: emacs-orgmode@gnu.org Shiyuan writes: > The two setting doesn't seem to have effect.   > (setq python-shell-interpreter "ipython") > (setq python-shell-interpreter-args "--pylab") > > When I did `C-c C-c` on the SRC block to execute the code, emacs > created a buffer with the interior python process. When I switched to > the process, I saw it is python 2.5.3, not ipython.   > > Also, it looks like the problem is with the shell interpreter. If I > enter command directly in the shell buffer, the shell buffer will echo > command itself and then the result.  > >>>> print "Hello" > print "Hello" > Hello.  > > Is there any setting to control this shell behavior? Can I make the > python shell not echo the command? Thanks.   > When a *shell* does that to me, I do (on Linux) $ stty -echo but I'm not sure where that would fit into your setup. Nick