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

Suppress calling shell commands during startup? #794

Closed shipmints closed 3 years ago

shipmints commented 3 years ago

Calling aws ec2 shell commands during package initialization can be very slow, especially when using a laptop over a slow connection. Is there a way to defer these calls until they are actually needed? I don't (yet) use the gat features so the cost isn't one worth paying (yet). Thanks in advance for the continued great work.

e.g.,

https://github.com/millejoh/emacs-ipython-notebook/blob/142ff5078b3074ce3ac8bf90abd8c38d9733253e/lisp/ein-gat.el#L73-L76

dickmao commented 3 years ago

Wow, that's brutal.

Thanks for letting me know. Mitigative commit 98574c5

shipmints commented 3 years ago

Thanks. (That was fast!)