From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Roche Newsgroups: gmane.comp.python.ipython.user,gmane.emacs.help Subject: Re: how to fix IPython prompt in emacs shell mode? Date: Wed, 29 Sep 2010 15:43:51 -0400 Message-ID: <87d3rw9vyg.fsf@pobox.com> References: <87tyl8tmea.fsf@pobox.com> Reply-To: help-gnu-emacs@gnu.org, ipython-user@scipy.org, Tom Roche NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285789445 18215 80.91.229.12 (29 Sep 2010 19:44:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 29 Sep 2010 19:44:05 +0000 (UTC) To: help-gnu-emacs@gnu.org, ipython-user@scipy.org, Original-X-From: ipython-user-bounces@scipy.org Wed Sep 29 21:44:03 2010 Return-path: Envelope-to: gcpiu-ipython-user@gmane.org Original-Received: from scipy.org ([216.62.213.231]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P12ZP-0003x3-BR for gcpiu-ipython-user@gmane.org; Wed, 29 Sep 2010 21:44:03 +0200 Original-Received: from scipy.org (localhost.localdomain [127.0.0.1]) by scipy.org (Postfix) with ESMTP id 6C0996E007; Wed, 29 Sep 2010 14:43:59 -0500 (CDT) Original-Received: from sasl.smtp.pobox.com (b-pb-sasl-quonix.pobox.com [208.72.237.35]) by scipy.org (Postfix) with ESMTP id 72A0E6E006 for ; Wed, 29 Sep 2010 14:43:57 -0500 (CDT) Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id DE149CC3DB; Wed, 29 Sep 2010 15:43:56 -0400 (EDT) Original-Received: from b-pb-sasl-quonix. (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id BD0A6CC3DA; Wed, 29 Sep 2010 15:43:54 -0400 (EDT) Original-Received: from tlrPanP5.pobox.com (unknown [69.134.240.67]) by b-sasl-quonix.pobox.com (Postfix) with ESMTPA id 17F69CC3D9; Wed, 29 Sep 2010 15:43:51 -0400 (EDT) In-Reply-To: User-Agent: GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.0) X-Pobox-Relay-ID: E4A5696C-CC01-11DF-8FD2-DDE5016DD5F0-07218935!b-pb-sasl-quonix.pobox.com X-BeenThere: ipython-user@scipy.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: IPython User List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ipython-user-bounces@scipy.org Errors-To: ipython-user-bounces@scipy.org Xref: news.gmane.org gmane.comp.python.ipython.user:5315 gmane.emacs.help:75036 Archived-At: Tom Roche Wed, Sep 29, 2010 at 1:50 PM >> When, in emacs, I do >> M-x shell >> ipython >> everything seems to work, except that the prompt is >> ^[[0;32mIn [^[[1;32m1^[[0;32m]: ^[[0m Andrew Wilson Wed, 29 Sep 2010 14:28:19 -0500 > (setq ansi-color-for-comint-mode t) Thanks! solved that problem. I'll post separately regarding some other issues running ipython from emacs. your assistance is appreciated, Tom Roche