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#50458: 28.0.50; Python shell: native completion with IPython Date: Tue, 07 Sep 2021 19:46:17 +0200 Message-ID: <871r60mg7q.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11940"; mail-complaints-to="usenet@ciao.gmane.io" To: 50458@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 07 19:48:30 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 1mNfCt-0002tX-KX for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Sep 2021 19:48:27 +0200 Original-Received: from localhost ([::1]:50926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNfCs-00035m-8Q for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Sep 2021 13:48:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48574) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNfBX-0001RV-S1 for bug-gnu-emacs@gnu.org; Tue, 07 Sep 2021 13:47:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46050) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mNfBX-00056h-Bn for bug-gnu-emacs@gnu.org; Tue, 07 Sep 2021 13:47:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mNfBW-0004MN-9i for bug-gnu-emacs@gnu.org; Tue, 07 Sep 2021 13:47: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: Tue, 07 Sep 2021 17:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50458 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163103678715064 (code B ref -1); Tue, 07 Sep 2021 17:47:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Sep 2021 17:46:27 +0000 Original-Received: from localhost ([127.0.0.1]:57595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNfAx-0003ub-6M for submit@debbugs.gnu.org; Tue, 07 Sep 2021 13:46:27 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:50424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNfAv-0003t9-JU for submit@debbugs.gnu.org; Tue, 07 Sep 2021 13:46:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48528) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNfAt-0000R3-Qf for bug-gnu-emacs@gnu.org; Tue, 07 Sep 2021 13:46:25 -0400 Original-Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]:38471) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mNfAr-0004bL-MQ for bug-gnu-emacs@gnu.org; Tue, 07 Sep 2021 13:46:23 -0400 Original-Received: by mail-ed1-x529.google.com with SMTP id q3so15065721edt.5 for ; Tue, 07 Sep 2021 10:46:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=Pn3hc0CwZ0CIrYBji0sTxaUCBz0HWwG4pkPui/AWcTc=; b=N+UfuYTLRBQKIrxdDUVCqbBIzbcRL/Ae84pcq3TgXcOMj7ftN+WyJ1F0SuOQsJjN57 3BGTMIXmyssPu5+o0QbIKsmq6VuC1o65uec5YGWDSYZ5Pvt3POyK/1cF9hpU9Immh1LS Hb9LebGs3EL444tF+scXQXVNkMZbKUHFxEiAUrtPwUW34x9t1ANSNCQKG0uCKnnmfwF9 mLGivDWe4+UyNdNxtAUGrH5z6MXqj5J0ZQfx8KBzOVhZj3i3mGH6RSP0oeBZ5ABaipTe W10di32s7padYoxBf/g4MttptHrHWuVylARhvj4ogR/kYrHejesE8425YaJNID+vUaPY SVfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=Pn3hc0CwZ0CIrYBji0sTxaUCBz0HWwG4pkPui/AWcTc=; b=i9151W0NZSaqYq6unWZpWH5FW88mKM1vPG4VMDaQL4FzHAfQy05A6GH6vfLB5uX0Y8 H6bqiihd/pvoMhFGsINXh4r1Xk2iXavxkrkfRUbg1ADNRM4Cs4xPC4k7yAjA/EqpxZhD ZLrKuWNPnoVrGlo8PpCTnbgRqWjUYNdk3P23RFqTXOGU6VV71cUAPn3+byJIkaRXcghP /mXnNRP9eIJU2Xj5Z0/7Sd2PBtd9LjNa8EAw3lm6N5B5AEiORZJkjKp1csGvlNYsSIsb Z0V7dWmV+Lok8UJdRUDX+wexIMOnA4nT/uHjFyMRGLci1lDCKsPyzdNCQshG08g/keW3 OSbA== X-Gm-Message-State: AOAM531HtfGfffOgTkdvTlzTUBM2G8o3UHFxcqtyA2QUDCjG5OigkY6O 3kXoC1WI2c36pieV+zIKZbgUVSRQ9Jf4Lg== X-Google-Smtp-Source: ABdhPJykrnKob5rPuywIQO4D7iFre//+gLRp5/VhOPbsQqWg6Lnh9OPjGb4R3xHba3M0PMMQ/3jSig== X-Received: by 2002:a50:fc1a:: with SMTP id i26mr708403edr.172.1631036779683; Tue, 07 Sep 2021 10:46:19 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::b1d]) by smtp.gmail.com with ESMTPSA id n13sm6825459edq.91.2021.09.07.10.46.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Sep 2021 10:46:19 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::529; envelope-from=arstoffel@gmail.com; helo=mail-ed1-x529.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:213722 Archived-At: A comment in python.el claims that "Native completion was found to be non-functional for IPython (see Bug#25067)". It actually works for me on IPython 7.23.1 (with the usual caveat that ipython requires the switch --simple-prompt to cooperate with Emacs). The original bug makes reference to IPython 5.1.0, so things probably changed since then. Give that the native completion works more smoothly, I would suggest to remove ipython from `python-shell-completion-native-disabled-interpreters'. PS: The native completion setup prints 'python.el: native completion setup loaded' directly into the shell buffer, which looks like a debug message. Should this be changed to a (message "..."), or even removed altogether?