[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Set Python shell in Org edit buffer

From: Jack Kamm
Subject: Re: [PATCH] Set Python shell in Org edit buffer
Date: Tue, 26 Dec 2023 22:07:40 -0800

Ihor Radchenko <yantar92@posteo.net> writes:

> I think we have a misunderstanding here.
> Didn't we just discuss that C-c C-p in python is not equivalent to
> `org-babel-python-initiate-session'?

ob-python works fine with sessions started externally by `run-python'.
And I have preserved this functionality, as I enjoy the flexibility of
working this way.

In particular, ob-python will detect when it needs to run
`org-babel-python--setup-session', even if the session was started
externally by `run-python'.

`org-babel-python-initiate-session' might be misnamed, which may be
causing some confusion here. It is run whenever a Python block is
executed, even if the session already exists.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]