From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#25306: emacs 25.1 cannot deal with the newer ipython (5.1.0) inferior ansi color Date: Mon, 03 Jul 2017 11:24:38 -0400 Message-ID: <8737adk0g9.fsf@users.sourceforge.net> References: <145c557a.d8.1595385e43e.Coremail.chxp_moon@163.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1499095464 10209 195.159.176.226 (3 Jul 2017 15:24:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 3 Jul 2017 15:24:24 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) Cc: 25306@debbugs.gnu.org To: "XP Chen" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 03 17:24:19 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dS3Cu-00025m-TB for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jul 2017 17:24:13 +0200 Original-Received: from localhost ([::1]:35826 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dS3Cz-0000lS-4n for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jul 2017 11:24:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dS3Cn-0000hl-C4 for bug-gnu-emacs@gnu.org; Mon, 03 Jul 2017 11:24:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dS3Ck-0007Ta-OH for bug-gnu-emacs@gnu.org; Mon, 03 Jul 2017 11:24:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47831) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dS3Ck-0007TU-K6 for bug-gnu-emacs@gnu.org; Mon, 03 Jul 2017 11:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dS3Ck-0000uU-CP for bug-gnu-emacs@gnu.org; Mon, 03 Jul 2017 11:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Jul 2017 15:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25306 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25306-submit@debbugs.gnu.org id=B25306.14990953903437 (code B ref 25306); Mon, 03 Jul 2017 15:24:02 +0000 Original-Received: (at 25306) by debbugs.gnu.org; 3 Jul 2017 15:23:10 +0000 Original-Received: from localhost ([127.0.0.1]:50508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dS3Bu-0000tJ-AK for submit@debbugs.gnu.org; Mon, 03 Jul 2017 11:23:10 -0400 Original-Received: from mail-io0-f180.google.com ([209.85.223.180]:34919) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dS3Bs-0000sz-Gv; Mon, 03 Jul 2017 11:23:08 -0400 Original-Received: by mail-io0-f180.google.com with SMTP id h134so58487312iof.2; Mon, 03 Jul 2017 08:23:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=JK48izfVujWAlAlHtd+PubBQm4gTJdLyOSH95APEILI=; b=rWEEWoqJqedZ5PAm2R0V1Km3ql7nli33NId8/SqRrLcnPKNYMhAP+eS5QTHrnwXC80 kMZStRAd8r93D/Xh/DFyV1W8uJcQHk+iLW8VbJV9iD4rr9Ois9iIUfKTARSj5/OXtTSk pPX2jZZC2h/NjSVzEMq1Z+2vC1kQTZAqgU2XhqD7EYyQPwLGDthJQctht873Xms+TbE+ tLkyXvz56Trr+h7FnWaPWFv12+UN5pJxnoc4toCyy8Rg6p7WVuJbQGAbEON8+uvNzVRm 2zk90e7XJUTslbQibsDPETWatpVa0JuYuzVLb60qjNzRv0CN8kJRs5BHJ1QU0azJUVvH VydQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=JK48izfVujWAlAlHtd+PubBQm4gTJdLyOSH95APEILI=; b=hkRHMcRxK48O8qMpE+ZIqR8A2/4HXqG9c5z6hlrWm5GckG1TF9fsG0c78GpAZlTWB2 CzjFX6tuSC0Zd4HK6I1KHWIUGpamQNpfFtfKiQGx0Tl5y58FzOxtm+P7KsYQDWi3XyK1 NYYHAlzJpMrEYCYaEHVWcTvQWEjp5qkfc7d8xWwmvYnCxjsUvZ4AMcA/+AutqzsWeWCu FbpALhYB4qiFGXqA88xI+AhjLN5q3wClWqPeWXKwzRXvFmPULzF8pMtj87m+ICsqUQoy zdbu4xKuLmhEqOyvsJ7+iP4/elxVCTcPGh9hmvZbVWnu3uKnOZkQPXRSRY47bTf8EgJT MNLA== X-Gm-Message-State: AIVw110bAE6/ynu/yR6RAHJ4dVoZyZU7k5deH72nOEBUNzmwPi+S1VQK /pZqKoJJ1M8u86xH X-Received: by 10.107.23.4 with SMTP id 4mr2569623iox.110.1499095382573; Mon, 03 Jul 2017 08:23:02 -0700 (PDT) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id j21sm2925357itb.15.2017.07.03.08.23.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Jul 2017 08:23:01 -0700 (PDT) In-Reply-To: <145c557a.d8.1595385e43e.Coremail.chxp_moon@163.com> (XP Chen's message of "Sat, 31 Dec 2016 14:16:40 +0800 (CST)") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:134127 Archived-At: forcemerge 21381 25306 quit "XP Chen" writes: > > When send python script to the ipython inferior, it shows: > > Python 3.5.2 (default, Nov 7 2016, 11:31:36) > Type "copyright", "credits" or "license" for more information. > > IPython 5.1.0 -- An enhanced Interactive Python. > ? -> Introduction and overview of IPython's features. > %quickref -> Quick reference. > help -> Python's own help system. > object? -> Details about 'object', use 'object??' for extra details. > Using matplotlib backend: TkAgg > > [J--------------------------------------------------------------------------- > NameError Traceback (most recent call last) > in () > ----> 1 execfile(r'/tmp/py-shell-completion-setup-code.py') # PYTHON-MODE > > NameError: name 'execfile' is not defined > > [J--------------------------------------------------------------------------- > NameError Traceback (most recent call last) > in () > ----> 1 execfile(r'/tmp/ipython-1723HV1.py') # PYTHON-MODE > > NameError: name 'execfile' is not defined > > [J[6n[JIn [3]: > [8D[8C[8D[J[6n[JIn > [3]: > [8D[8C[8D[J[6n[JIn > [3]: > [8D[8C[8D[J[6n[JIn > [3]: > [8D[8C[8D[J[6n[JIn > [3]: > [8D[8C[8D[J[6n[JIn > [3]: > [8D[8C[8D[J[6n[JIn > [3]: > [8D[8C[8D[J[6n[JIn > [3]: [8D[8C > > The problem of NameError: name 'execfile' is not defined can ignored > it. However the ansi color of ipython cannot deal with the emacs25.1 As far as I can tell, this is the same as Bug#21381; the fix for that one solves this as well.