From: TheLonelyStar <nabble2@lonely-star.org>
To: Help-gnu-emacs@gnu.org
Subject: Trouble using ipython
Date: Thu, 8 Jul 2010 07:23:22 -0700 (PDT) [thread overview]
Message-ID: <29107591.post@talk.nabble.com> (raw)
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.
reply other threads:[~2010-07-08 14:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=29107591.post@talk.nabble.com \
--to=nabble2@lonely-star.org \
--cc=Help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.