From unknown Sun Jun 15 10:55:15 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#19904 <19904@debbugs.gnu.org> To: bug#19904 <19904@debbugs.gnu.org> Subject: Status: 24.4; IPython shell output under windows: no out-prompt appears, printing doesn't work Reply-To: bug#19904 <19904@debbugs.gnu.org> Date: Sun, 15 Jun 2025 17:55:15 +0000 retitle 19904 24.4; IPython shell output under windows: no out-prompt appea= rs, printing doesn't work reassign 19904 emacs submitter 19904 Aron Lagerberg severity 19904 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 19 12:52:36 2015 Received: (at submit) by debbugs.gnu.org; 19 Feb 2015 17:52:36 +0000 Received: from localhost ([127.0.0.1]:48867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOVH9-0005cc-CA for submit@debbugs.gnu.org; Thu, 19 Feb 2015 12:52:35 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40510) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOUyI-0005BS-QR for submit@debbugs.gnu.org; Thu, 19 Feb 2015 12:33:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOUyH-0007X0-J2 for submit@debbugs.gnu.org; Thu, 19 Feb 2015 12:33:06 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOUyH-0007Wo-Gc for submit@debbugs.gnu.org; Thu, 19 Feb 2015 12:33:05 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOUyB-0007Ak-TS for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2015 12:33:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOUyA-0007Kt-F9 for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2015 12:32:59 -0500 Received: from mail-ie0-x22f.google.com ([2607:f8b0:4001:c03::22f]:42615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOUyA-0007Jd-9q for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2015 12:32:58 -0500 Received: by iecrp18 with SMTP id rp18so1565261iec.9 for ; Thu, 19 Feb 2015 09:32:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=b4+siQDyhFA2wVI9/BCVPAhaa1QerLls3qvl/BI2onY=; b=RTcAUpaXfXH8RzFbk1/NXvo9s0EI36lHCWL/KnVeeD6N2oXZY2TpjbF10fO7MbXxdI 0S6mh/KGgaius9xVYS/as0BFOSgAsVP5EHYNi9/QGmJLcH4bNMm2SzHelr4DaECDHejE id8/wb5l0SVG7EI+6ZXWCyRyl84/m/fiYwkQ5HIlr/DKmeOx9D6IfdthH2ztx0WHv1UU td8BGYNznbEjtp7Mcx0w35t9im0oM27tZXw40uxf+NYgcdX9Fhy7T1s96hvf2cZKRmrG rehSptV+Z3wg7nILbwGdgPrTFl99yajZZSECKKI4MNpu5kw+0PVhuK7K/syakSoVuhHu fjTA== MIME-Version: 1.0 X-Received: by 10.107.149.212 with SMTP id x203mr7974179iod.12.1424367177321; Thu, 19 Feb 2015 09:32:57 -0800 (PST) Received: by 10.107.175.233 with HTTP; Thu, 19 Feb 2015 09:32:57 -0800 (PST) Date: Thu, 19 Feb 2015 18:32:57 +0100 Message-ID: Subject: 24.4; IPython shell output under windows: no out-prompt appears, printing doesn't work From: Aron Lagerberg To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=001a1140f5aea25657050f745397 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 19 Feb 2015 12:52:31 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --001a1140f5aea25657050f745397 Content-Type: text/plain; charset=UTF-8 Hi all! 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 In GNU Emacs 24.4.1 (i686-pc-mingw32) of 2014-10-24 on LEG570 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=/c/usr' Important settings: value of $LANG: SVE locale-coding-system: cp1252 Major mode: Emacs-Lisp Minor modes in effect: diff-auto-refine-mode: t shell-dirtrack-mode: t ido-everywhere: t cua-mode: t show-paren-mode: t delete-selection-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t --001a1140f5aea25657050f745397 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all!=C2=A0

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 runni= ng
'run-python' I see the IPython interpreter loaded. I g= et 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 se= ems to be something
wrong in how emacs is handling the IPython ou= tput. How can I fix this?
Where can I start to look? Which file i= s responsible for the interaction
between the ipython output and = emacs buffer?

I'm at a loss here and would apr= iceate any help. Thank you in advance! :)

Best reg= ards,

Aron



In GNU Emacs 24.4.1 (i686-pc-mingw32)
=C2=A0of 20= 14-10-24 on LEG570
Windowing system distributor `Microsoft Corp.&= #39;, version 6.1.7601
Configured using:
=C2=A0`configu= re --prefix=3D/c/usr'

Important settings:
=C2=A0 value of $LANG: SVE
=C2=A0 locale-coding-system: cp1= 252

Major mode: Emacs-Lisp

Minor modes in effect:
=C2=A0 diff-auto-refine-mode: t
=C2=A0 shell-dirtrack-mode: t
=C2=A0 ido-everywhere: t
=C2=A0 cua-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 d= elete-selection-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 e= lectric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2= =A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 fil= e-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
= =C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
= =C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode: = t
=C2=A0 transient-mark-mode: t

--001a1140f5aea25657050f745397-- From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 21 12:12:20 2015 Received: (at 19904) by debbugs.gnu.org; 21 Feb 2015 17:12:21 +0000 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 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 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 From: fgallina@gnu.org (=?utf-8?Q?Fabi=C3=A1n?= Ezequiel Gallina) To: Aron Lagerberg Subject: Re: bug#19904: 24.4; IPython shell output under windows: no out-prompt appears, printing doesn't work References: Date: Sat, 21 Feb 2015 14:12:13 -0300 In-Reply-To: (Aron Lagerberg's message of "Thu, 19 Feb 2015 18:32:57 +0100") Message-ID: <87lhjr5guq.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 19904 Cc: 19904@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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. From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 21 16:45:58 2015 Received: (at 19904-done) by debbugs.gnu.org; 21 Feb 2015 21:45:58 +0000 Received: from localhost ([127.0.0.1]:50422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YPHs6-0001pV-JM for submit@debbugs.gnu.org; Sat, 21 Feb 2015 16:45:58 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:56671) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YPHs4-0001pN-Sx for 19904-done@debbugs.gnu.org; Sat, 21 Feb 2015 16:45:57 -0500 Received: from [190.246.172.180] (port=42497 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1YPHs3-0004UG-Te for 19904-done@debbugs.gnu.org; Sat, 21 Feb 2015 16:45:56 -0500 From: fgallina@gnu.org (=?utf-8?Q?Fabi=C3=A1n?= Ezequiel Gallina) To: 19904-done@debbugs.gnu.org Subject: 24.4; IPython shell output under windows: no out-prompt appears, printing doesn't work Date: Sat, 21 Feb 2015 18:45:53 -0300 Message-ID: <87wq3b3pm6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 19904-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) User reported this did the trick. From unknown Sun Jun 15 10:55:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 22 Mar 2015 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator