all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Trouble using ipython
@ 2010-07-08 14:23 TheLonelyStar
  0 siblings, 0 replies; only message in thread
From: TheLonelyStar @ 2010-07-08 14:23 UTC (permalink / raw)
  To: Help-gnu-emacs


Hi

I am trying to use ipython.el, my setup is:

(add-to-list 'load-path "~/emacs/ipython/")
(require 'ipython)
(setq py-python-command-args '( "-colors" "Linux"))

(defadvice py-execute-buffer (around python-keep-focus activate)
  "return focus to python code buffer"
  (save-excursion ad-do-it))

Now, when I do python->execute buffer in a python file, I get:
An Ipython buffer, looking really strange:

\x01^[[0;32m\x02In [\x01^[[1;32m\x021\x01^[[0;32m\x02]: \x01^[[0m\x02\x01^[[0;32m\x02   ...: \x01^[[0m\x02\x01^[[0;32m\x02  
...: \x01^[[0m\x02\x01^[[0;32m\x02   ...: \x01^[[0m\x02
\x01^[[0;32m\x02In [\x01^[[1;32m\x022\x01^[[0;32m\x02]: \x01^[[0m\x02\x01^[[0;32m\x02   ...: \x01^[[0m\x02\x01^[[0;32m\x02  
...: \x01^[[0m\x02
\x01^[[0;32m\x02In [\x01^[[1;32m\x023\x01^[[0;32m\x02]: \x01^[[0m\x02
\x01^[[0;32m\x02In [\x01^[[1;32m\x024\x01^[[0;32m\x02]: \x01^[[0m\x02\x01^[[0;32m\x02   ...: \x01^[[0m\x02\x01^[[0;32m\x02  
...: \x01^[[0m\x02\x01^[[0;32m\x02   ...: \x01^[[0m\x02
\x01^[[0;32m\x02In [\x01^[[1;32m\x025\x01^[[0;32m\x02]: \x01^[[0m\x02\x01^[[0;32m\x02   ...: \x01^[[0m\x02\x01^[[0;32m\x02  
...: \x01^[[0m\x02
\x01^[[0;32m\x02In [\x01^[[1;32m\x026\x01^[[0;32m\x02]: \x01^[[0m\x02\x01^[[0;32m\x02   ...: \x01^[[0m\x02\x01^[[0;32m\x02  
...: \x01^[[0m\x02
\x01^[[0;32m\x02In [\x01^[[1;32m\x027\x01^[[0;32m\x02]: \x01^[[0m\x02
\x01^[[0;32m\x02In [\x01^[[1;32m\x028\x01^[[0;32m\x02]: \x01^[[0m\x02
\x01^[[0;32m\x02In [\x01^[[1;32m\x029\x01^[[0;32m\x02]: \x01^[[0m\x02
\x01^[[0;32m\x02In [\x01^[[1;32m\x0210\x01^[[0;32m\x02]: \x01^[[0m\x02
\x01^[[0;32m\x02In [\x01^[[1;32m\x0211\x01^[[0;32m\x02]:
\x01^[[0m\x02^[[1;31m---------------------------------------------------------------------------^[[0m
^[[1;31mAttributeError^[[0m                            Traceback (most recent
call last)

What could be wrong?

Thanks!
Nathan
-- 
View this message in context: http://old.nabble.com/Trouble-using-ipython-tp29107591p29107591.html
Sent from the Emacs - Help mailing list archive at Nabble.com.




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-08 14:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-08 14:23 Trouble using ipython TheLonelyStar

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.