emacs-eaf / eaf-jupyter

Jupyter client
GNU General Public License v3.0
15 stars 2 forks source link

Interaction with Emacs Python mode #6

Open balbirthomas opened 1 year ago

balbirthomas commented 1 year ago

Use Case I would like to edit a Python script using Emacs' built-in Python mode and use eaf-jupyter console as the Python interpreter.

When using Emacs Python mode typically one launches a Python interpreter REPL using C-c C-p. There after it is possible to send blocks of code being edited to this REPL. For example C-c C-c sends the whole buffer. Is it possible to do the same using eaf-jupyter REPL.

Describe the solution you'd like It would be very useful to be able to use eaf-jupyter as a replacement for the standard Python REPL built into Emacs (which is launched by C-c C-p). A suitable alternative workflow for eaf-jupyter would be

If this feature is already available, please do consider documenting it in the README or elsewhere.