From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: fgallina@gnu.org (=?UTF-8?Q?Fabi=C3=A1n?= Ezequiel Gallina) Newsgroups: gmane.emacs.bugs Subject: bug#19904: 24.4; IPython shell output under windows: no out-prompt appears, printing doesn't work Date: Sat, 21 Feb 2015 14:12:13 -0300 Message-ID: <87lhjr5guq.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1424538804 12050 80.91.229.3 (21 Feb 2015 17:13:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Feb 2015 17:13:24 +0000 (UTC) Cc: 19904@debbugs.gnu.org To: Aron Lagerberg Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 21 18:13:07 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YPDc3-0002iZ-2N for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Feb 2015 18:13:07 +0100 Original-Received: from localhost ([::1]:36802 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPDc2-0004DB-F1 for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Feb 2015 12:13:06 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPDby-0004D4-RZ for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2015 12:13:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPDby-0000Xp-2U for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2015 12:13:02 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPDbx-0000Xc-VW for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2015 12:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YPDbx-0003Ih-KM for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2015 12:13:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: fgallina@gnu.org (=?UTF-8?Q?Fabi=C3=A1n?= Ezequiel Gallina) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Feb 2015 17:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19904 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19904-submit@debbugs.gnu.org id=B19904.142453874112635 (code B ref 19904); Sat, 21 Feb 2015 17:13:01 +0000 Original-Received: (at 19904) by debbugs.gnu.org; 21 Feb 2015 17:12:21 +0000 Original-Received: from localhost ([127.0.0.1]:50349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YPDbI-0003Hi-Ec for submit@debbugs.gnu.org; Sat, 21 Feb 2015 12:12:20 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:48685) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YPDbF-0003Ha-NU for 19904@debbugs.gnu.org; Sat, 21 Feb 2015 12:12:18 -0500 Original-Received: from [190.246.172.180] (port=42215 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1YPDbE-0005Qr-M2; Sat, 21 Feb 2015 12:12:17 -0500 In-Reply-To: (Aron Lagerberg's message of "Thu, 19 Feb 2015 18:32:57 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:99678 Archived-At: Aron Lagerberg writes: > Hi all!=20 > > I'm having trouble getting IPython to work with emacs 24.4 under windows > 7 (on my linux laptop, it works out-of-the-box). When using ipython and > running > 'run-python' I see the IPython interpreter loaded. I get no 'in' prompt, > but when writeing for instance '2+4' and hitting enter, I get 'Out [1]: > 6'. When typing 'print("foo")', hitting enter produces nothing. But, > after running 'quit()' I see 'In [5]: foo'. There seems to be something > wrong in how emacs is handling the IPython output. How can I fix this? > Where can I start to look? Which file is responsible for the interaction > between the ipython output and emacs buffer? > > I'm at a loss here and would apriceate any help. Thank you in advance! :) > > Best regards, > > Aron Hi Aron, Have you tried following this comment from python.el's header: ;; Running IPython on Windows needs more tweaking. The way you should ;; set `python-shell-interpreter' and `python-shell-interpreter-args' ;; is as follows (of course you need to modify the paths according to ;; your system): ;; (setq python-shell-interpreter "C:\\Python27\\python.exe" ;; python-shell-interpreter-args ;; "-i C:\\Python27\\Scripts\\ipython-script.py") If not, please give it a go and let me know if it worked. Cheers, Fabi=C3=A1n.