From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.bugs Subject: bug#57885: [PATCH] Add a command to restart the Python shell Date: Wed, 28 Sep 2022 08:36:44 +0200 Message-ID: <87y1u4c8eb.fsf@gmail.com> References: <875yhmapwr.fsf@gmail.com> <87sfkpaojl.fsf@gmail.com> <87leqfeso9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6877"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 57885@debbugs.gnu.org, stefankangas@gmail.com To: Richard Stallman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 28 09:29:42 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 1odRVm-0001Zr-8O for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Sep 2022 09:29:42 +0200 Original-Received: from localhost ([::1]:46160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odRVk-00077U-Kl for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Sep 2022 03:29:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odQgo-00042M-OZ for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2022 02:37:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60202) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odQgo-0002Ld-GE for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2022 02:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1odQgo-0000Jl-3T for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2022 02:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Augusto Stoffel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Sep 2022 06:37: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.16643470161204 (code B ref 57885); Wed, 28 Sep 2022 06:37:02 +0000 Original-Received: (at 57885) by debbugs.gnu.org; 28 Sep 2022 06:36:56 +0000 Original-Received: from localhost ([127.0.0.1]:59280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odQgh-0000JL-UX for submit@debbugs.gnu.org; Wed, 28 Sep 2022 02:36:56 -0400 Original-Received: from mail-ej1-f54.google.com ([209.85.218.54]:43908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odQgg-0000J8-0R for 57885@debbugs.gnu.org; Wed, 28 Sep 2022 02:36:54 -0400 Original-Received: by mail-ej1-f54.google.com with SMTP id lh5so25027880ejb.10 for <57885@debbugs.gnu.org>; Tue, 27 Sep 2022 23:36:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date; bh=ib6AQpA1lO+cbFYNirdmojDXP3vCAxcdqighGTU8pS0=; b=OihkGmAR14ERYnTIvnEf24c0fFPZxJwOnNqdVSKB015oLKhGjkuM9FsA4N/Jn55wWZ F6TmmEnEbkeGx4r+R+ard4YByLs4J3HAsZ+rpzBmNrxq1wQb7GssYEsP6Qtfj7E7x/KN gqWGnsySLIDhRtYuxrlMUkJJTGWsE49AYiayWl0jzkaFfCfkcZexCUYcU+gcMdZpRv1t DyKV8G/ha/VakNhTPEEgvEctGkG8dDqHPJEXgCTLgoAIDRVQY15pgdmH34jdApgQ89My DJMMGONsIYxe5sQAvrcvWNYdzZQB2mDblsQDwRysHaDD7KzEfHreZV3jhassvuxAdydd mFjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=ib6AQpA1lO+cbFYNirdmojDXP3vCAxcdqighGTU8pS0=; b=FlfEsduQzu6pWSzR6on/CONMAQWiJOppmJlxvPgxjc/slm7SxklHEu0GtRwz3UgHzq 9sD6uJMe5n5N5sbsbYZuePb8UPdeZF2j6BqN6I4ooJq1d6qphHjOrphCMerk0teLc9Jg PTeVGwh8R0GI2hi05AQ72YDp/XwNT02SkEBfM5CpGe1Ji3a85F129sPm6IH+2VQOKjgQ W8d4MnBPKzkm4+EL8VlqFMDcRRsH1TvRjaXWhYI5Tz90HoGd3Bnj4oSsoV7dNI1MHIZm oO3pnegC35eUkXUgDMVQVxISWnQYcvo7X3jkDCRDsLeSerk+AGTfNdPSCv22sGA98KaM lyig== X-Gm-Message-State: ACrzQf1zCjBbXJZYGq+GEvPMiWK48lH150DBN4Rl+mEzKn93i3NIJGvH Pz/LkcsibuinMT1AlCZOo+l1nqD6x44= X-Google-Smtp-Source: AMsMyM59aFhYz2wEmRGqaqjjC2HSBc6vmA85LpQ3KW5tcO5VrTBpkSsA/pOegdB6Vt+jiInGgcU4Pw== X-Received: by 2002:a17:906:7621:b0:750:c4a3:8fcd with SMTP id c1-20020a170906762100b00750c4a38fcdmr26677056ejn.180.1664347006604; Tue, 27 Sep 2022 23:36:46 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::89aa]) by smtp.gmail.com with ESMTPSA id 5-20020a170906300500b0073d6093ac93sm1909593ejz.16.2022.09.27.23.36.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 23:36:45 -0700 (PDT) In-Reply-To: (Richard Stallman's message of "Tue, 27 Sep 2022 22:52:55 -0400") 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:243786 Archived-At: On Tue, 27 Sep 2022 at 22:52, Richard Stallman wrote: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > The most important is that you can operate the Python shell entirely > > from other buffers using `python-shell-send-region' and related commands > > (I use the Python shell to see the outputs, but rarely type input > > directly into it). > > I can see how that command is useful, but why should that shell not > have a buffer to manipulate it by? You can still have the > commands that don't use the buffer, but you'll also be able > to use the buffer to restart the shell, kill the shell, and > whatever else. Yes, you can do all of the above.