all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: npostavs@users.sourceforge.net
To: "XP Chen" <chxp_moon@163.com>
Cc: 25306@debbugs.gnu.org
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	[thread overview]
Message-ID: <8737adk0g9.fsf@users.sourceforge.net> (raw)
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)")

forcemerge 21381 25306
quit

"XP Chen" <chxp_moon@163.com> 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)
>       <ipython-input-1-b5cc5cb08aa6> in <module>()
>       ----> 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)
>       <ipython-input-2-a8c6ebfb943a> in <module>()
>       ----> 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.





      parent reply	other threads:[~2017-07-03 15:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-31  6:16 bug#25306: emacs 25.1 cannot deal with the newer ipython (5.1.0) inferior ansi color XP Chen
2016-12-31 13:26 ` Andreas Röhler
2017-05-21 23:35 ` Maxim Cournoyer
2017-07-03 15:24 ` npostavs [this message]

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=8737adk0g9.fsf@users.sourceforge.net \
    --to=npostavs@users.sourceforge.net \
    --cc=25306@debbugs.gnu.org \
    --cc=chxp_moon@163.com \
    /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.