Liu Hui <liuhui1...@gmail.com> writes: > I just want to set 'python-shell-buffer-name' in the edit buffer > according to the :session header and don't need to start the session > even if the session doesn't exist.
Sorry that I missed this thread. I agree that `python-shell-buffer-name' should be set according to the :session header, and that Liu's patch fixes a problem in ob-python. Is there any objection if I go ahead and apply it? I think the question of what to do when a session doesn't exist is a separate issue. Liu's patch doesn't change the status quo on this matter (C-c C-c still tells you to call run-python either way). And I'm not convinced there is a problem with the status quo anyways, though additional customization could be nice.