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#51010: 29.0.50; python completion breaks upon non-trivial rl config Date: Sat, 9 Oct 2021 14:22:28 -0300 Message-ID: <88E85B14-518F-4F18-B2F0-96BA2FDA981C@gmail.com> References: Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_A402E954-844A-4F85-8FF3-C08B9D05161B" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21548"; mail-complaints-to="usenet@ciao.gmane.io" To: 51010@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 09 19:23:09 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 1mZG3w-0005RW-Vj for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Oct 2021 19:23:09 +0200 Original-Received: from localhost ([::1]:53626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZG3v-0000IX-T9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Oct 2021 13:23:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZG3q-0000IN-Jg for bug-gnu-emacs@gnu.org; Sat, 09 Oct 2021 13:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42565) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mZG3q-0000iZ-Ax for bug-gnu-emacs@gnu.org; Sat, 09 Oct 2021 13:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mZG3p-0005QA-UD for bug-gnu-emacs@gnu.org; Sat, 09 Oct 2021 13:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Carlos Pita Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Oct 2021 17:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51010 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.163380016020791 (code B ref -1); Sat, 09 Oct 2021 17:23:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Oct 2021 17:22:40 +0000 Original-Received: from localhost ([127.0.0.1]:54111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZG3T-0005PH-Vv for submit@debbugs.gnu.org; Sat, 09 Oct 2021 13:22:40 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:57032) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZG3Q-0005P6-8j for submit@debbugs.gnu.org; Sat, 09 Oct 2021 13:22:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZG3Q-0000HK-2y for bug-gnu-emacs@gnu.org; Sat, 09 Oct 2021 13:22:36 -0400 Original-Received: from mail-vk1-xa29.google.com ([2607:f8b0:4864:20::a29]:44793) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mZG3O-0000hd-Im for bug-gnu-emacs@gnu.org; Sat, 09 Oct 2021 13:22:35 -0400 Original-Received: by mail-vk1-xa29.google.com with SMTP id s137so5544810vke.11 for ; Sat, 09 Oct 2021 10:22:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=bktE5C8cLgVqilX13v9aB/n/w3t6pDiBmuiss931r2U=; b=Z8qLF5HyYW2Mjix7JJgf9vT2HOmDtjIq0vXS39JIWOz+WYMDDkh5aPVkIjqUg3/vcZ Em3g6pdaKOnBLxYinpjG7mAhcwv4d2tdFAfh0vu5okLZoyQzBEonwwbHdKpDMn5h9Qql 7sBNAt9GAY92vRMbRpBNSenyUHNmX8rnwyxI9/YsjDWtHkiuNQhS1XEuSZ392XQXB+pn fnsB9CFfrIf97RuGKGbKlo8VrXaSkbOu/CHGLR+/vQucCpePUKbqXnXpc5cHHOd0lzpl TAV7EcETdJMpde72OgwwSxXXggTt/8xP0VLAsdzUYkRGeWpRluz3w3g1Oe5dFx72OT8a Pibg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=bktE5C8cLgVqilX13v9aB/n/w3t6pDiBmuiss931r2U=; b=K7zQaozlEWUzevfPUqFWRot3nZca7I5ROk2ykikGGA9EvFxZaUzEoZZ4040rTJgPHH QhtbmRMnZ0GEeaucnew6zobrtijiJuMoBKWtv19nnM2/CuzpWx2xC1J559afEKiKanHl qXPDP2/QihAvAnGtXwyWdKgJ9pBbGajjm8Pj8V7Kdincw4EdngnD60ZCivXRo0fRdM+B U7c2SRvwyjLQCLkXgEk9Pd29wi2qtDlbsNF5mRPpFvF5ajoPmNl4hLApDpUQRHoL94fk SeVJf2Cg1CsNjpIzYL0s+XTTK3ni6gOiYLwLumN9S/+uW7bVpabDLoV/czEpyD/jx49o bv1A== X-Gm-Message-State: AOAM533JzpVnPz554JsxtpKRqzNeBBxLp45uHbwv/iHca6gk6QBqy8TR k+plJLS8DrxrBSfvNBZV1ZQ9VMp/1JRhXg== X-Google-Smtp-Source: ABdhPJw1JDLjNFMbTakBx+1DISWDtvEEwquN4kQCknuDdEO4wyEguewRiZ9n8mEituHbsB1HaxwxSw== X-Received: by 2002:a1f:3a4b:: with SMTP id h72mr14921045vka.19.1633800152359; Sat, 09 Oct 2021 10:22:32 -0700 (PDT) Original-Received: from smtpclient.apple ([186.136.138.53]) by smtp.gmail.com with ESMTPSA id q19sm889464vsl.12.2021.10.09.10.22.30 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Oct 2021 10:22:31 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.13) Received-SPF: pass client-ip=2607:f8b0:4864:20::a29; envelope-from=carlosjosepita@gmail.com; helo=mail-vk1-xa29.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, HTML_MESSAGE=0.001, HTML_OBFUSCATE_05_10=0.26, 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:216786 Archived-At: --Apple-Mail=_A402E954-844A-4F85-8FF3-C08B9D05161B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi, my apologies for the insistence, but please take a look a this, it=E2=80=99= s a very simple change and although wrt python.el it just removes an = annoying message ("Your =E2=80=98python-shell-interpreter=E2=80=99 = doesn=E2=80=99t seem to support readline") and avoids disabling native = completion altogether (which, anyway, as I=E2=80=99ve discussed = elsewhere, I believe doesn=E2=80=99t add much in terms of features as it = adds in terms of problems), wrt org-babel the problem is actually = serious since trying to evaluate a python code block without first = blacklisting python from native completion freezes emacs to death and = seemingly a restart is needed. Of course, org-babel should be more = robust in this regard but some help from python.el won=E2=80=99t hurt. Best regards, Carlos PS: perhaps I should have titled this issue as =E2=80=9Cpython = completion freezes emacs to death=E2=80=9D ;)= --Apple-Mail=_A402E954-844A-4F85-8FF3-C08B9D05161B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Hi,

my apologies for the = insistence, but please take a look a this, it=E2=80=99s a very simple = change and although wrt python.el it just removes an annoying message = ("Your = =E2=80=98python-shell-interpreter=E2=80=99 doesn=E2=80=99t seem to = support readline") and avoids disabling native completion altogether = (which, anyway, as I=E2=80=99ve discussed elsewhere, I = believe doesn=E2=80=99t add much in terms of features as it adds in = terms of problems), wrt org-babel the problem is actually serious since = trying to evaluate a python code block without first blacklisting python = from native completion freezes emacs to death and = seemingly a restart is needed. Of course, org-babel should be more = robust in this regard but some help from python.el won=E2=80=99t = hurt.

Best = regards,
Carlos

PS: = perhaps I should have titled this issue as =E2=80=9Cpython completion = freezes emacs to death=E2=80=9D ;)
= --Apple-Mail=_A402E954-844A-4F85-8FF3-C08B9D05161B--