From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#57885: [PATCH] Add a command to restart the Python shell Date: Sat, 17 Sep 2022 14:04:00 -0400 Message-ID: References: <875yhmapwr.fsf@gmail.com> <87sfkpaojl.fsf@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="12687"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57885@debbugs.gnu.org To: Augusto Stoffel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 17 20:05:22 2022 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 1oZcBu-000341-7d for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Sep 2022 20:05:22 +0200 Original-Received: from localhost ([::1]:48932 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZcBt-0000jJ-0q for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Sep 2022 14:05:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZcBb-0000eI-7k for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 14:05:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48079) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZcBa-0007yz-RV for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 14:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZcBa-0008Qn-Mn for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 14:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Sep 2022 18:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57885 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 57885-submit@debbugs.gnu.org id=B57885.166343785232307 (code B ref 57885); Sat, 17 Sep 2022 18:05:02 +0000 Original-Received: (at 57885) by debbugs.gnu.org; 17 Sep 2022 18:04:12 +0000 Original-Received: from localhost ([127.0.0.1]:47150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZcAl-0008P1-PB for submit@debbugs.gnu.org; Sat, 17 Sep 2022 14:04:12 -0400 Original-Received: from mail-oa1-f46.google.com ([209.85.160.46]:40947) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZcAg-0008OS-BL for 57885@debbugs.gnu.org; Sat, 17 Sep 2022 14:04:10 -0400 Original-Received: by mail-oa1-f46.google.com with SMTP id 586e51a60fabf-1278a61bd57so56520672fac.7 for <57885@debbugs.gnu.org>; Sat, 17 Sep 2022 11:04:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date; bh=DjkL6k4tBsrY8cpKo2P4C1BPkHP896aQwvYq38g1K/A=; b=l75H50L3Vulhf6np5ZSzeVa/Ytn8Itx2lY7B7NKa7Uf9PoDIha4+lMA+5HXb+Svaez bvWNP22RXfYlORLcdisAKJv7Plk5XU2oi8LRa+tGAyqzI7atGraghW3yqJ7YYXe9crVG Bw+nJkMxO53UKe8ATFRBhVz/0j3rueaMpjWcuI8I7Xz1HN9cEQCGNmbw/+b65/VTfEZh 5Buo9PO1LVHyJLct/F4IS0GGm+0Vz4eBTnPF3/tAQmaqjXBd7MsiZ5L/tM153LHuQX1o RvGr7BUbSdvVEkojSRiQDO6a37uGHV4lVSFshy6nQ20SWKbWHZOrKwFZYMM6dyG8Dox6 fvdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date; bh=DjkL6k4tBsrY8cpKo2P4C1BPkHP896aQwvYq38g1K/A=; b=x+M2CtaR4wNDBUV3meGlamIaLrkCnwiaV4hwAOIWWbBNSdVRdDfx7jbVrMVBIJtkvI E+0wd5wrNzhh03qOzGlhivbrUxtiwWO4voOm1NDsG5WZwvf4owHxk4Ju9yrZvT+LzzqH 7ljUMzBSsXbdWOp3ZODkwDSoMehcgSeNPgOJps+iXwtvGyEwmE1PyLmvoV5aLVx70/w5 QgulrZCE9b4hACBCcCxPbzP6FqgiwlQZbEY7qyr/Ulmu3dV6aeJiYq8mTBi2Hv0KwKna zYd+vaR5N9KUqeKt9Y0jJFQFqJLNP/xU7fL8aAaj+E7azG2FKozpUhZk5TdYm19rHVaO GZ3Q== X-Gm-Message-State: ACgBeo2l3VzfCtzFYvt5n+JZ/hVtHrpQM8Z9Z7ZZHAjr0xkdiqpDvTiX l9zg8i67WHPWIpC9dswrkNrVTRVoeQiAu3jErnw= X-Google-Smtp-Source: AA6agR59Y1WD7Q/3aMH5P0q53krhn28zG3QRCQQ8oBaOGsGRdsMQYY7hexGEV6+Tro0z1AAsWZudZLxep94HgRDUY68= X-Received: by 2002:a05:6870:538c:b0:11b:e64f:ee1b with SMTP id h12-20020a056870538c00b0011be64fee1bmr11244114oan.92.1663437840574; Sat, 17 Sep 2022 11:04:00 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 17 Sep 2022 14:04:00 -0400 In-Reply-To: <87sfkpaojl.fsf@gmail.com> X-Hashcash: 1:20:220917:57885@debbugs.gnu.org::LV9qB/X8bP2YXycG:Ct2C 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:242900 Archived-At: Augusto Stoffel writes: > Okay, then let's decide later (or not decide :-)). :-) > No, and if fact, if the process is dead, you want to call this command > to start the shell again (it happens to me and it works). Makes sense. > Subject: [PATCH] * lisp/progmodes/python.el (python-shell-restart): New > command. BTW, maybe you want to add a first line with text like Add new command python-shell-restart