You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So far loving the refreshed scimax-ipython. One little thing I'd like to add is to have calls to org-edit-src-code automatically change the python-shell-buffer-name variable for the editing buffer. This would allow directing python.el's python-shell-send-region and python-shell-send-buffer to the appropriate inferior python. Quite convenient if dealing with multiple files/sessions.
Currently I do this manually by copying the auto-generated session name, and evaluating (setq-local python-shell-buffer-name "Python:ipython-session-name"). Would there be a simple/clean way to do this programatically?
The text was updated successfully, but these errors were encountered:
Calls to python-shell-send-region will send code to the appropriate processes unless the inferior Python buffer does not exist yet (but this is another issue), i.e., one has to first org-babel-switch-to-session to create the buffer.
So far loving the refreshed scimax-ipython. One little thing I'd like to add is to have calls to
org-edit-src-code
automatically change thepython-shell-buffer-name
variable for the editing buffer. This would allow directing python.el'spython-shell-send-region
andpython-shell-send-buffer
to the appropriate inferior python. Quite convenient if dealing with multiple files/sessions.Currently I do this manually by copying the auto-generated session name, and evaluating
(setq-local python-shell-buffer-name "Python:ipython-session-name")
. Would there be a simple/clean way to do this programatically?The text was updated successfully, but these errors were encountered: