millejoh / emacs-ipython-notebook

Jupyter notebook client in Emacs
http://millejoh.github.io/emacs-ipython-notebook/
GNU General Public License v3.0
1.47k stars 123 forks source link

Modified `ein:jupyter-server-use-subcommand` to be a list. #884

Closed jeeger closed 11 months ago

jeeger commented 11 months ago

This allows using more complex subcommands. For example, launching jupyter from poetry can be done by setting ein:jupyter-server-command to "poetry" and ein:jupyter-server-use-subcommand to '("run" "jupyter" "lab")`.

dickmao commented 11 months ago

There are zero to two guys out there whose init.el contains ,

(custom-set-variables '(ein:jupyter-server-use-subcommand "foo"))

which would collide with logic that assumes that variable is now always a list.

With ac92eb92 perhaps try setting the variable to "run jupyter lab".