[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Set Python shell in Org edit buffer
From: |
Ihor Radchenko |
Subject: |
Re: [PATCH] Set Python shell in Org edit buffer |
Date: |
Sat, 09 Dec 2023 10:32:59 +0000 |
Liu Hui <liuhui1610@gmail.com> writes:
>> 2. Check the new variable and attempt to run
>> `org-babel-<lang>-associate-session' in org-src-mode definition.
>
> I think associating the edit buffer with some session doesn't require
> starting the session, which is at least feasible for ob-python. When
> editing python src block, users can use C-c C-p to start the session
> themselves for evaluating code. So it would be nice to allow a value
> of 'associate in the customization, which means just running
> `org-babel-<lang>-associate-session'.
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'?
Also, by "start a new session" I meant "start a new session if there is
none running already; if a session is already running, unconditionally
associate Org Src buffer with that running session".
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- Re: [PATCH] Set Python shell in Org edit buffer, (continued)
- Re: [PATCH] Set Python shell in Org edit buffer, Ihor Radchenko, 2023/12/05
- Re: [PATCH] Set Python shell in Org edit buffer, Liu Hui, 2023/12/05
- Re: [PATCH] Set Python shell in Org edit buffer, Ihor Radchenko, 2023/12/06
- Re: [PATCH] Set Python shell in Org edit buffer, Liu Hui, 2023/12/06
- Re: [PATCH] Set Python shell in Org edit buffer, Ihor Radchenko, 2023/12/07
- Re: [PATCH] Set Python shell in Org edit buffer, Liu Hui, 2023/12/07
- Re: [PATCH] Set Python shell in Org edit buffer, Ihor Radchenko, 2023/12/07
- Re: [PATCH] Set Python shell in Org edit buffer, Liu Hui, 2023/12/08
- Re: [PATCH] Set Python shell in Org edit buffer, Ihor Radchenko, 2023/12/08
- Re: [PATCH] Set Python shell in Org edit buffer, Liu Hui, 2023/12/08
- Re: [PATCH] Set Python shell in Org edit buffer,
Ihor Radchenko <=
- Re: [PATCH] Set Python shell in Org edit buffer, Liu Hui, 2023/12/09
- Re: [PATCH] Set Python shell in Org edit buffer, Jack Kamm, 2023/12/27
- Re: [PATCH] Set Python shell in Org edit buffer, Ihor Radchenko, 2023/12/28
- Re: [PATCH] Set Python shell in Org edit buffer, Jack Kamm, 2023/12/31
- Re: [PATCH] Set Python shell in Org edit buffer, Jack Kamm, 2023/12/27
- Re: [PATCH] Set Python shell in Org edit buffer, Ihor Radchenko, 2023/12/28
- Re: [PATCH] Set Python shell in Org edit buffer, Jack Kamm, 2023/12/29
- Re: [PATCH] Set Python shell in Org edit buffer, Ihor Radchenko, 2023/12/31
- Re: [PATCH] Set Python shell in Org edit buffer, Jack Kamm, 2023/12/31
- Re: [PATCH] Set Python shell in Org edit buffer, Jack Kamm, 2023/12/29