From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Carlos Pita Newsgroups: gmane.emacs.bugs Subject: bug#25753: 25.2; Python mode shell interaction not working 100% Date: Sun, 3 Oct 2021 20:35:09 -0300 Message-ID: References: <41EFCEC1-7EE8-484D-AF7F-06CF3F800F65@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39147"; mail-complaints-to="usenet@ciao.gmane.io" To: 25753@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 04 01:36:12 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 1mXB1e-000A2S-Q6 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 Oct 2021 01:36:10 +0200 Original-Received: from localhost ([::1]:50680 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXB1d-0005aS-7E for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Oct 2021 19:36:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37110) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXB1X-0005aC-0g for bug-gnu-emacs@gnu.org; Sun, 03 Oct 2021 19:36:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51789) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXB1W-0005i0-OY for bug-gnu-emacs@gnu.org; Sun, 03 Oct 2021 19:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mXB1W-0000GS-JB for bug-gnu-emacs@gnu.org; Sun, 03 Oct 2021 19:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Carlos Pita Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Oct 2021 23:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25753 X-GNU-PR-Package: emacs Original-Received: via spool by 25753-submit@debbugs.gnu.org id=B25753.1633304131973 (code B ref 25753); Sun, 03 Oct 2021 23:36:02 +0000 Original-Received: (at 25753) by debbugs.gnu.org; 3 Oct 2021 23:35:31 +0000 Original-Received: from localhost ([127.0.0.1]:35102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXB11-0000Fd-DP for submit@debbugs.gnu.org; Sun, 03 Oct 2021 19:35:31 -0400 Original-Received: from mail-wm1-f48.google.com ([209.85.128.48]:38475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXB0w-0000FN-RA for 25753@debbugs.gnu.org; Sun, 03 Oct 2021 19:35:30 -0400 Original-Received: by mail-wm1-f48.google.com with SMTP id g193-20020a1c20ca000000b0030d55f1d984so6400717wmg.3 for <25753@debbugs.gnu.org>; Sun, 03 Oct 2021 16:35:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=F1Y8Iz4oj+Fn54R52SJoCEV6xnKGDQaUUE1epypN49g=; b=Fit7zVsK+v3q0HW0et4H/zwThf5MmJwSLcZSEBz9Hix2AQtPzml89+SbvhKZaxSDAH pSImv9dRFcYoqiaTtv0F3/bkZ5sMAcGcr64Yec3WgMWTniyrobLJjOTkJiQLe/SITrHc NZF66oVLw+PbW9hgXtJo4W677di4liC1ZM1QVxMIhXkyEDQLHhFVtnujjsiRzBwszYqd XYL+SmUMQenmHRtlP6lReEza3T77H24fRLFgMO4obbRIPqY1iUiYgQZiraiz/RykeQUn VvEgYLdXLEfeTvp27Mv8ED0WR26m9Fc2A3XUWVSa8nKKEVONtqF1YPlmiaWBs83Anrc7 rTRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=F1Y8Iz4oj+Fn54R52SJoCEV6xnKGDQaUUE1epypN49g=; b=BtHoWki8tJNgRzfCHPHRadCdyKiaydd/h2wss6BVqSc3cticQGdC7bSHsDSVVPDFXT O9S+eiVTIWJ00ujvEWmv1DX42Dt4jIY40fevmzSKEXvMoN+LD7WaIQPF8DRBmOw1BY7m ShExOXe8T56evqcfb8OVKwbnZgR7Awl0jewIh7E6rDo9DFkBB4OS/v0rGs/7LsDPG30k NxP8hKF5td8/ktL28yIpj1QysnYQ8xUJrghNmflTsl8y7z3Fd31InhgPjJl5tRisOU3+ ErhKPSsGgAYrWbzujtyQDWTYBEbfejQIo6PESjagZDzxvF4WeYxcd7qx7ma6UgXRPkX5 0lzg== X-Gm-Message-State: AOAM5302PAs/D0yvKc/cdPv8DbGIhWZgxfKkFewPF+MCZHCUN6UrLnf+ pd6tSqBXKXiib0XhHSTrCEwVm/IBEIkgG2a/yeWNVhqUDnAnDQ== X-Google-Smtp-Source: ABdhPJzucSYkFWe3OEwxS77uQL61etJRswpp9n93YHBqaBc4r7eU6RrWMAgkdvKXunyQdJCUWiXzskNAFdL5ts/tiJg= X-Received: by 2002:a1c:e915:: with SMTP id q21mr16012313wmc.180.1633304120486; Sun, 03 Oct 2021 16:35:20 -0700 (PDT) In-Reply-To: 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:216311 Archived-At: Ok, after a lot of debugging I realized that my current readline configuration was introducing some control characters that wreak havoc with the native completion detection mechanism. Now, my .inputrc has: > cat .inputrc set completion-ignore-case on set completion-display-width 80 set completion-prefix-display-length 5 set show-all-if-ambiguous on set skip-completed-text on set colored-stats on set blink-matching-paren on set menu-complete-display-prefix on And I like it to be so. So there are a lot of cases to deal with here. One could force a reset by setting INPUTRC=ieiowueqoiw or whatever, but I've spent countless hours debugging all this native completion stuff every couple of years, it's too fragile and too complex, do you think it's worth the effort? ipython doesn't use readline anymore, the trend is to move to jupyter which has a clean protocol to deal with all this, why don't keep things simple and get rid of the readline magic for good? Just an opinion.