When editing Python blocks in Org Mode using C-c ', the temporary edit
buffer opened in python-mode is not automatically linked to the REPL
session defined via the :session header argument. This breaks important
features like auto-completion (python-shell-completion-at-point) and
documentation support (eldoc), unless users manually implement workaround
functions in Elisp to bind the session buffer to python-shell-buffer-name.
>
> It would be much more elegant and user-friendly if Org Mode provided a
built-in option — such as org-babel-python-link-edit-buffer-to-session —
that automatically connects the edit buffer to the REPL session defined in
the block. This would significantly improve the editing experience and
bring richer Python integration to Org workflows without requiring manual
setup or custom code.

Reply via email to