From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Peter Mao Newsgroups: gmane.emacs.bugs Subject: bug#25753: 29.1; Python mode shell interaction not working 100% Date: Thu, 24 Aug 2023 22:32:20 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000cb37530603b8abe4" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32908"; 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 Fri Aug 25 07:33:21 2023 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 1qZPRf-0008J2-Ty for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 25 Aug 2023 07:33:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZPRO-00047h-73; Fri, 25 Aug 2023 01:33:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZPRK-0003t1-K2 for bug-gnu-emacs@gnu.org; Fri, 25 Aug 2023 01:32:59 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qZPRJ-0000nv-SS for bug-gnu-emacs@gnu.org; Fri, 25 Aug 2023 01:32:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qZPRO-0001uL-7V for bug-gnu-emacs@gnu.org; Fri, 25 Aug 2023 01:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Peter Mao Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Aug 2023 05:33: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.16929415647309 (code B ref 25753); Fri, 25 Aug 2023 05:33:02 +0000 Original-Received: (at 25753) by debbugs.gnu.org; 25 Aug 2023 05:32:44 +0000 Original-Received: from localhost ([127.0.0.1]:38982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZPR6-0001tp-70 for submit@debbugs.gnu.org; Fri, 25 Aug 2023 01:32:44 -0400 Original-Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]:47442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZPR4-0001tc-Nj for 25753@debbugs.gnu.org; Fri, 25 Aug 2023 01:32:43 -0400 Original-Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-5008faf4456so788789e87.3 for <25753@debbugs.gnu.org>; Thu, 24 Aug 2023 22:32:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692941552; x=1693546352; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=196wCDqQs9O8UYPLu1kEHjOJ9NjWDnZsJv6v1ROTGts=; b=U6KfsTQe0KVYHxX7o06KM9M+zroiyi44QU/4trQ42gkZ92NO8joFSlC/SdL/msTfo5 nBmK2W78zhDxfuVlU8GgiDX/J9RdRi8syNbTCp9HE7ZEhsYiKiygINIiELvPzL3acbYf IVP0BOP6bRfI7mAGQpW6IC/Pxd8VZS0TOf0DZhQ3GYSehUF2020aUmlIc1/gvAv+TLf4 3UFYYgEcniFsjqSNFQj0ADlAPi0Kq5EFVQJCcekaeD4qfrDFZwVOkNH4cMwmYDQoB7LR xD6E1JnbxH4LMddikC2Tz/eY/pVJV9hGYifxUazAOEGmcLj+0Izk4x3aIb9sSjclsGIM Ko8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692941552; x=1693546352; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=196wCDqQs9O8UYPLu1kEHjOJ9NjWDnZsJv6v1ROTGts=; b=jnXkQiCJCepnwQWI7My0ECKZ0ifGySr/FSG70HexjNye/eoUde+daiQ0IJdGxak0hQ CTCtnSYa6hXe9KKqNezpUjmD9+EkT/AXLYtmFG75LLxpaPjGgzyyXPpljl2H+ScY8lAW F7FURNRdJmjrE8NB0W36RmzpGLnBItpEsiMjUsyrHliJ7pMQz9Ubogcb/A1hpXCRfck8 7atdxPDoLtdoNktGgH3l2hd51oRWlQxWmNZzWwIFAT8RfRAMzbUc9vpOi+bnBkxq/YT1 q+uRcHDVHG6h+0PKft1m2GYppPRYsl2gmZSczKfKjX4M0+eyHurIje5JG7lb5+o+m2sG o4bA== X-Gm-Message-State: AOJu0YwHMNmctWWnE5jEPvLwkYFHDvbA4bSLHRG88xHnbdj15dvjDDCt F+nRgg0b4hjyM+oFISb7sxScLqF3z7eMENpBFEyK15Or X-Google-Smtp-Source: AGHT+IEHARCDNmkcunWGuiQrxqQvef0FHYmOCcRtBXHTnCZr3Hg33NXuMHpRiadM9DGImStjCTy8w8W0GP7qkWlJW6Q= X-Received: by 2002:ac2:5b42:0:b0:4fe:279b:8a02 with SMTP id i2-20020ac25b42000000b004fe279b8a02mr11172765lfp.67.1692941551349; Thu, 24 Aug 2023 22:32:31 -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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:268387 Archived-At: --000000000000cb37530603b8abe4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable At least my version of the problem can be traced to a bug in Org's ob-python.el. I bisected the commit history, found the offending commit and reported it to the org mailing list. Peter On Fri, Aug 11, 2023 at 10:55=E2=80=AFAM Peter Mao wr= ote: > * Synopsis > With 29.1 on OSX and GNU/Linux(Ubuntu), opening a python session in a > buffer for the > second time in a buffer causes Emacs to hang. (First mentioned in > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D25753#98). > > The warning message from > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D25753#5 > appears on OSX, but not on Ubuntu. As mentioned in that email, despite > the > warning, completions *do* work. > > The major problem to my workflow is the hanging. Versions 27 and 28 di= d > not > have this problem. > > * Solutions attempted that do not solve the issue for me > 1. `pip install gnureadline` > 2. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D25753#41 > 3. ~/.inputrc: I don't use that on OSX, on Ubuntu, my config is minima= l. > > * Recipe, system info and .initrc are in the attached org-mode file. > --000000000000cb37530603b8abe4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
At least my version of the problem can be traced to a= bug in Org's ob-python.el.=C2=A0 I bisected the commit history, found = the offending commit and reported it to the org mailing list.
Peter


On F= ri, Aug 11, 2023 at 10:55=E2=80=AFAM Peter Mao <peter.mao@gmail.com> wrote:
* Syno= psis
=C2=A0 With 29.1 on OSX and GNU/Linux(Ubuntu), opening a python ses= sion in a buffer for the
=C2=A0 second time in a buffer causes Emacs to = hang. =C2=A0(First mentioned in
=C2=A0 https://debbugs.gnu.o= rg/cgi/bugreport.cgi?bug=3D25753#98).

=C2=A0 The warning message= from https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D25753#5
=C2=A0 appears on OSX, but not on Ubuntu.=C2=A0 As mentioned in that e= mail, despite the
=C2=A0 warning, completions *do* work.

=C2=A0 T= he major problem to my workflow is the hanging.=C2=A0 Versions 27 and 28 di= d not
=C2=A0 have this problem.

* Solutions attempted that do not= solve the issue for me
=C2=A0 1. `pip install gnureadline`
=C2=A0 2.=
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D25753#41
=C2=A0 3. ~/.inputrc: =C2=A0I don't use that on OSX, on Ubuntu, = my config is minimal.

* Recipe, system info and .i= nitrc are in the attached org-mode file.
--000000000000cb37530603b8abe4--