From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "shynur ." Newsgroups: gmane.emacs.bugs Subject: bug#71440: Python Inferior Mode =?UTF-8?Q?Can=E2=80=99t?= Recognize My Prompt Date: Sun, 9 Jun 2024 10:49:19 +0000 Message-ID: References: <86sexnbckv.fsf@gnu.org> <86r0d7bawc.fsf@gnu.org> <86ikyjb7ky.fsf@gnu.org> <86h6e2buul.fsf@gnu.org> <8634pmbefs.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39112"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "71440@debbugs.gnu.org" <71440@debbugs.gnu.org> To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 09 12:52:12 2024 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 1sGG9k-000A3k-4x for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 Jun 2024 12:52:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sGG9M-0001Wv-NC; Sun, 09 Jun 2024 06:51:48 -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 1sGG9K-0001WT-DB for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2024 06:51:46 -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 1sGG9K-0002lz-59 for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2024 06:51:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sGG9a-0000N8-Ei for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2024 06:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "shynur ." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Jun 2024 10:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71440 X-GNU-PR-Package: emacs Original-Received: via spool by 71440-submit@debbugs.gnu.org id=B71440.17179302711262 (code B ref 71440); Sun, 09 Jun 2024 10:52:02 +0000 Original-Received: (at 71440) by debbugs.gnu.org; 9 Jun 2024 10:51:11 +0000 Original-Received: from localhost ([127.0.0.1]:58834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sGG8l-0000KI-Cu for submit@debbugs.gnu.org; Sun, 09 Jun 2024 06:51:11 -0400 Original-Received: from mail-mw2nam10olkn2025.outbound.protection.outlook.com ([40.92.42.25]:11585 helo=NAM10-MW2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sGG8k-0000Jg-6r for 71440@debbugs.gnu.org; Sun, 09 Jun 2024 06:51:10 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CA6acDBMDslDbLJ9I4qwBQG4FOxnjPqL6SJbzezVV6BGlzM1Y2b+AXrpwZDZBSAWWusCgG3wMBeRMxe1uQKuqOpYmkFsVWiGlGVYARkurE6Cj0UWC82e3n1bpnNGhPnyHvVrjz5FNxLH1yvQoRXXKE9jtTVR1ET1xMJku+bPG+dYJx7AZAccDjeYQnujcTVmtLiRTwXkHauluFm9bndS6jqwQySu0izB1GxzekynU4lrytudQBKrQg/wGXOz1G3MaiomNy2unkIGTFqm7/4EIsVSPbsi/TSqJDv44uXixIgEKFbPMa66svgTWXDl3mIkt42Jsew1CLwlnjDLnxlvJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=V9lRLeamlu9uTficp1qY30500pp82p81KkQl2MBW/uY=; b=RWwDE9MHs1DgjnGov5r7QBeAEqk3u+Ul8zgUsAOsmrdRBf8eC+ODBoHJbXtnk+Q/Ytmm7WzP0b2RS2Kvtw5yI998no3gAKHpZzJ/QdlnXzHcgKydqL28Gow9Z09GWm/IHis+LJKTGjZowC/SikASfBbU3G4cL9P1ArVSYXMqOWLjSixQWdgxQDGfl7X1HE78zT65yKYABV6WTNCnasA352h7iKNbrHIBHg0kHdE808qiO5bVRwl/i0y4ZNbHiJylIHLql5iC5z/xqAZobFnjFSFfqfQ9R6tUP4P3W+OR9y5PUPze9g4RmhfwBsVJkCKLx59tllhqfis/wMc4H0aBKA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=V9lRLeamlu9uTficp1qY30500pp82p81KkQl2MBW/uY=; b=jRT34aqKHgIohxnMxmfilE4KgPqVgpx0+nJkEOhdQhuch78elqyye3DyQtaXTotqFnv0gSAy65lTuabx8YOcfgz01EU5zxU9Joz/ukDviG2GThMuy5hK68DYX5NEyhPmHV1q0WS/YXe1rsZd1/t3qEkzeBkDpw9xXxBbEuEyLMOxJRHS7znhZ2fzyMbuW9XPStL0XNLNsFpwwLeAMPqR8QgksWqtHpw79y1nrni1O8Tip16af6PA0rU/9hzCPLgzCm8vMay4gSKJwbvo/3wtgFa9K3PRl4zQmhI6tzDe/9XDt0LGIyNs7E0FwJz6tgL/9ElRCiy58AhuIBmLzAU46A== Original-Received: from PH0PR11MB7470.namprd11.prod.outlook.com (2603:10b6:510:288::7) by CY8PR11MB7108.namprd11.prod.outlook.com (2603:10b6:930:50::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.17; Sun, 9 Jun 2024 10:49:19 +0000 Original-Received: from PH0PR11MB7470.namprd11.prod.outlook.com ([fe80::bb7c:5985:2230:cb74]) by PH0PR11MB7470.namprd11.prod.outlook.com ([fe80::bb7c:5985:2230:cb74%4]) with mapi id 15.20.7633.036; Sun, 9 Jun 2024 10:49:19 +0000 Thread-Topic: bug#71440: Python Inferior Mode =?UTF-8?Q?Can=E2=80=99t?= Recognize My Prompt Thread-Index: AQHaulquj5FMGrRppkGCSI1KSzs45A== In-Reply-To: <8634pmbefs.fsf@gnu.org> Accept-Language: en-US, zh-CN Content-Language: en-US x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [S4FcVU9CNgkPC40wysVqz7cGHM3aVUYb] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR11MB7470:EE_|CY8PR11MB7108:EE_ x-ms-office365-filtering-correlation-id: d63770c0-ab7c-4129-eb69-08dc8871d0aa x-microsoft-antispam: BCL:0; ARA:14566002|461199019|440099019|3412199016|102099023; x-microsoft-antispam-message-info: E2bozYZQt9cTD7xtiNMdzqicbeBGf4plSXk0ah+dfMi22zMkSLLOImmHqdIEdYA4zKkn9FrjCk2vAY75OFZ/8ohCehp94hfH1FdYoDdzWydUPYJK43nwI7ANewmjVIvIrjB0Wy9g4d2ofgvseWwBlzS17hBp6EQa9CzZce4ZlUJRQIqYLekTXMUL1+VDtYC31E3rTamSK0sFiBz1E6L8k0eI0BYbj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TNokBvSZqgDEXRGRZG20PFXamyvnuSRU5q1w3vd72iiS47DLYQjE3aBV5t+1SuESLtdd2JCGvRvaiwl7bwx8sKHQhyXS0tDy FMhChSXELCuq4GH5s6e0WBQoX3xBUWaENwr7Vz2OiKNMAOTYBPgUMzFxYEKNa69fAiDiiJCUFE7QcrEkQ2+gykp1Q32goDTz4d X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB7470.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: d63770c0-ab7c-4129-eb69-08dc8871d0aa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jun 2024 10:49:19.3136 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB7108 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:286926 Archived-At: > I wonder how PS1 and PS2 are at all relevant when using =0A= > python-shell-send-buffer? That function sends the buffer=0A= > text to Python, so where do PS1 and PS2 come into play,=0A= > and why does Python say "__PYTHON_EL_eval is not defined" =0A= > just because you have PS1 and PS2 customized?=0A= =0A= I know it=92s *weird* but it just happened.=0A= I gave the recipes in the original post for anyone to =0A= reproduce it.=0A= =0A= > If someone helps me understand that, maybe I will have =0A= > further ideas.=0A= =0A= How about CC this post to the maintainer(s) of =91python.el=92?=0A= =0A= > How about defining PYTHONSTARTUP to point to a different =0A= > file?=0A= =0A= This makes it inconvenient to add or modify content to the =0A= =91PYTHONSTARTUP=92 file because each change needs to be synced=0A= to another file that exists for Emacs.=