From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.bugs Subject: bug#44732: 27.1; Inferior Python mode does not correctly display output of ipython3 Date: Thu, 26 Aug 2021 17:02:54 +0200 Message-ID: <87fsuwp7tt.fsf@gmail.com> References: <1452910223.59624.1605747876341@ichabod.co-bxl> <87k0k9cr6m.fsf@gmail.com> <8735qw1e3c.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12378"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: 44732@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 26 17:04:22 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mJGvU-0002wB-QG for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Aug 2021 17:04:20 +0200 Original-Received: from localhost ([::1]:58342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJGvT-0002vF-Hk for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Aug 2021 11:04:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJGvD-0002pL-Ox for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2021 11:04:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38492) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mJGvC-00021Y-Le for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2021 11:04:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mJGvC-00018t-Fb for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2021 11:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Augusto Stoffel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Aug 2021 15:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44732 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 44732-submit@debbugs.gnu.org id=B44732.16299901834293 (code B ref 44732); Thu, 26 Aug 2021 15:04:02 +0000 Original-Received: (at 44732) by debbugs.gnu.org; 26 Aug 2021 15:03:03 +0000 Original-Received: from localhost ([127.0.0.1]:50030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJGuF-00017B-9A for submit@debbugs.gnu.org; Thu, 26 Aug 2021 11:03:03 -0400 Original-Received: from mail-wm1-f51.google.com ([209.85.128.51]:41589) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJGuE-00016i-2H for 44732@debbugs.gnu.org; Thu, 26 Aug 2021 11:03:02 -0400 Original-Received: by mail-wm1-f51.google.com with SMTP id c129-20020a1c35870000b02902e6b6135279so2455120wma.0 for <44732@debbugs.gnu.org>; Thu, 26 Aug 2021 08:03:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=eCPVwxB3fMb243ODDIr4YUcBAlvY/vFwNbMX+tpXzM8=; b=aZENDytHqO3gpn07OrKICoJs44saZ+NwFioGbFp6ddsj7xGiRDQBuEBE46TnaRrNKk rvnL308Ri1rFfvMUJYwAHIXVZg7/kL9Tnd0v7uQBijZODyrLcTgfBTLOQjc0ZkJHnH4r nN9z0hgegqLjLEdmVC+L7fjmNnbe5KdjzOD4qrYhjO56xfxMFW5Ve/6H36sBUPJBNGdA FcpPoOMPgMjWfAfp37UUEL90X5SEZvr+alpcm9cjD3aOiRdXEaN8yTDH4RA2YhbvMSkW fJ5MYbNJIHYeBCQqmJ8cXm3snRIYTt4uHqu3osAyr9/gk7TnWLUcwmWkOfD7ez7Opd7a /xIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=eCPVwxB3fMb243ODDIr4YUcBAlvY/vFwNbMX+tpXzM8=; b=CIerLXAkT7z+By9bQo90jOm43l2or4/h1rfpeCggyDO3EAqyPzBPJydNDABpTRzX/p 3ITP0A7LsBK2il3vgC5ylhZfUyjxdGnCv4V/XJCQJPCL+QVQWtvXNAVE8sAXvFuB588u f0O0VHzdYjt5N996HuMZe53ulyG8WvCwP/s15NvMyTbjojVYOY8iUwKJ4bOWpg20dPgm ed60fpN1ReotU7SoVA7OgFkCEHwINqJL+JUVfGXvFqJn0gho1Zdz3mI2wk1NpJCjkGGI cEg/SEFkl72MABljQbeZif+uyQEA+mK2DS2QslnWyrxxJSpPdVx4lZnaIh4Yr+9pyAeN Zx1Q== X-Gm-Message-State: AOAM531MarJXFRcXCP78JbDESmSqLiIN9vnNZSvgopTQ850MQ7BksA15 zAZ0hNKLyTRt8CXBXHUpIlqVzeiW2vA= X-Google-Smtp-Source: ABdhPJwVp6dVC5GILDWy/Qx+dnRGRWZhXt4JIevalzfmKTlNPdSTgy3Cfp8ufMjigqi7E4HnTqI3XA== X-Received: by 2002:a7b:c2fa:: with SMTP id e26mr14844387wmk.102.1629990175705; Thu, 26 Aug 2021 08:02:55 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::ae3f]) by smtp.gmail.com with ESMTPSA id r1sm7487070wmn.46.2021.08.26.08.02.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Aug 2021 08:02:55 -0700 (PDT) In-Reply-To: <8735qw1e3c.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 26 Aug 2021 16:21:27 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:212721 Archived-At: On Thu, 26 Aug 2021 at 16:21, Lars Ingebrigtsen wrote: > Augusto Stoffel writes: > >> This is solved by adding the following extra argument to ipython: >> >> (setq python-shell-interpreter "ipython3" >> python-shell-interpreter-args "--simple-prompt") > > Should the defaults in python.el be changed? No, the defaults are good. But there's a pitfall: if you change the interpreter from "python" to the fancier "ipython", you need to add the extra "--simple-prompt" argument.