unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19904: 24.4; IPython shell output under windows: no out-prompt appears, printing doesn't work
@ 2015-02-19 17:32 Aron Lagerberg
  2015-02-21 17:12 ` Fabián Ezequiel Gallina
  2015-02-21 21:45 ` Fabián Ezequiel Gallina
  0 siblings, 2 replies; 3+ messages in thread
From: Aron Lagerberg @ 2015-02-19 17:32 UTC (permalink / raw)
  To: 19904

[-- Attachment #1: Type: text/plain, Size: 1495 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 2211 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#19904: 24.4; IPython shell output under windows: no out-prompt appears, printing doesn't work
  2015-02-19 17:32 bug#19904: 24.4; IPython shell output under windows: no out-prompt appears, printing doesn't work Aron Lagerberg
@ 2015-02-21 17:12 ` Fabián Ezequiel Gallina
  2015-02-21 21:45 ` Fabián Ezequiel Gallina
  1 sibling, 0 replies; 3+ messages in thread
From: Fabián Ezequiel Gallina @ 2015-02-21 17:12 UTC (permalink / raw)
  To: Aron Lagerberg; +Cc: 19904

Aron Lagerberg <aronlagerberg@gmail.com> writes:

> 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

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án.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#19904: 24.4; IPython shell output under windows: no out-prompt appears, printing doesn't work
  2015-02-19 17:32 bug#19904: 24.4; IPython shell output under windows: no out-prompt appears, printing doesn't work Aron Lagerberg
  2015-02-21 17:12 ` Fabián Ezequiel Gallina
@ 2015-02-21 21:45 ` Fabián Ezequiel Gallina
  1 sibling, 0 replies; 3+ messages in thread
From: Fabián Ezequiel Gallina @ 2015-02-21 21:45 UTC (permalink / raw)
  To: 19904-done


User reported this did the trick.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-21 21:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-19 17:32 bug#19904: 24.4; IPython shell output under windows: no out-prompt appears, printing doesn't work Aron Lagerberg
2015-02-21 17:12 ` Fabián Ezequiel Gallina
2015-02-21 21:45 ` Fabián Ezequiel Gallina

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).