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 122 forks source link

can you open a notebook without starting a server? #872

Open danielkrajnik opened 1 year ago

danielkrajnik commented 1 year ago

Is there a read-only mode? Something just to inspect contents of the notebook - just render the cells in the buffer? Or is that just not how ipython notebooks work?

Servers take time to start and require you to server the entire directory rather than just a file.

dickmao commented 1 year ago

What you describe would require research and programming far beyond EIN's current sunset status.

danielkrajnik commented 1 year ago

Sorry, maybe I haven't described this properly. I'm just trying to view .ipynb notebook file. Currently, it requires you to switch to ein-mode, start a server (C-c C-o), go through a pop-up menu to select the file you've already opened and then maxmize that buffer. If it's a larger directory it may crash so you have to reopen it... vscode on the other hand opens it straight away in a second.

I hoped that you could just preview it in a single or lesser amount of steps? I'm new to this extension, so perhaps someone could please suggest a better workflow? I know there are a lot of variables in configuration (I'm using doom emacs), but could someone at least please confirm that I must be doing something wrong and this doesn't have to be so complicated?

Why does it have to be so complicated?

Knusper commented 2 months ago

While I recognise the sunset status, I also second the idea to have a mode that just allows one to edit notebook files from within emacs.

I encounter a lot of projects, where the documentation (or tutorials) are written as ipynb notebooks. I would like to edit these documents, but does that really need a server if I don't want to execute the code during my editing session?