[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57885: [PATCH] Add a command to restart the Python shell
From: |
Augusto Stoffel |
Subject: |
bug#57885: [PATCH] Add a command to restart the Python shell |
Date: |
Thu, 29 Sep 2022 09:09:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
On Wed, 28 Sep 2022 at 23:00, 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. ]]]
>
> > > 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.
>
> I find it hard to understand that concretely. Are you saying that
> these shells do in fact have corresponding buffers?
Yes, it does. It's a pretty conventional shell in the mold of M-x
shell, that is, a buffer where you can type some expressions and see the
result.
It also has some extra features, such as python-shell-send-region which
effectively copies a region of the current buffer (presumably Python
code) and pastes it in the shell buffer and hits RET for you. You can
later switch to the Python shell buffer to see the result of that
computation.
I hope this clarifies things :-).
- bug#57885: [PATCH] Add a command to restart the Python shell, (continued)
- bug#57885: [PATCH] Add a command to restart the Python shell, Stefan Kangas, 2022/09/17
- bug#57885: [PATCH] Add a command to restart the Python shell, Richard Stallman, 2022/09/18
- bug#57885: [PATCH] Add a command to restart the Python shell, Augusto Stoffel, 2022/09/19
- bug#57885: [PATCH] Add a command to restart the Python shell, Richard Stallman, 2022/09/27
- bug#57885: [PATCH] Add a command to restart the Python shell, Augusto Stoffel, 2022/09/28
- bug#57885: [PATCH] Add a command to restart the Python shell, Richard Stallman, 2022/09/28
- bug#57885: [PATCH] Add a command to restart the Python shell,
Augusto Stoffel <=