Re: [PATCH] Change default ob-python session command to match run-python

2023-12-31 Thread Ihor Radchenko
Jack Kamm writes: > Thanks for the feedback! I attach a followup patch in response. If all > looks good, I will squash before applying. LGTM. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at

Re: [PATCH] Change default ob-python session command to match run-python

2023-12-30 Thread Jack Kamm
Ihor Radchenko writes: > Thanks! > I have several comments. Thanks for the feedback! I attach a followup patch in response. If all looks good, I will squash before applying. >> -(defcustom org-babel-python-command "python" >> - "Name of the command for executing Python code." >> - :version "2

Re: [PATCH] Change default ob-python session command to match run-python

2023-12-30 Thread Ihor Radchenko
Jack Kamm writes: > The attached patch changes the default behavior of ob-python sessions, > to respect python-shell-interpreter(-args) when starting an interactive > session. Thanks! I have several comments. > -(defcustom org-babel-python-command "python" > - "Name of the command for executin

[PATCH] Change default ob-python session command to match run-python

2023-12-29 Thread Jack Kamm
The attached patch changes the default behavior of ob-python sessions, to respect python-shell-interpreter(-args) when starting an interactive session. It also allows separate customization of the default Python command for nonsessions and sessions. This mainly benefits IPython users. IPython is