2009/1/6 Stephan Peijnik <deb...@sp.or.at>: > On Mon, 2009-01-05 at 11:08 -0600, Jordi Gutiérrez Hermoso wrote: >> However, it appears that Emacs isn't properly interpreting ipython's >> colour sequences. >> >> Instead of getting colour, from an Emacs buffer I get >> >> Python 2.5.2 (r252:60911, Nov 14 2008, 21:49:10) >> Type "copyright", "credits" or "license" for more information. >> >> IPython 0.9.1 -- An enhanced Interactive Python. >> ? -> Introduction and overview of IPython's features. >> %quickref -> Quick reference. >> help -> Python's own help system. >> object? -> Details about 'object'. ?object also works, ?? prints more. >> >> [0;32mIn [ [1;32m1 [0;32m]: [0m >> >> [0;32mIn [ [1;32m2 [0;32m]: [0m >> >> [0;32mIn [ [1;32m3 [0;32m]: [0m1+1 >> [0;31mOut[ [1;31m3 [0;31m]: [0m2 >> >> Is there something I forgot to configure? I'd really like to be able >> to use ipython from within Emacs. > > I just checked and everything is running fine here.
Ah, right, I see what is wrong. I tried to change the Python command in Emacs's Python mode from python to ipython, but that was unnecessary. All I did instead was to do (require 'ipython) in elisp and now Python mode's shell is ipython instead of python. You may close this bug now. :-)