tkf / emacs-ipython-notebook

IPython notebook client in Emacs
tkf.github.com/emacs-ipython-notebook/
GNU General Public License v3.0
548 stars 51 forks source link

eldoc support #145

Open expez opened 10 years ago

expez commented 10 years ago

I think eldoc support would be a valuable addition to ein. Many of the functions in numpy et al take a ton of arguments, and eldoc is a nice alternative to viewing the documentation with something like auto-complete.

I tried implementing this myself, but came up short as the eldoc-documentation-function is synchronous and ein itself relies heavily on callbacks.

If you don't want to tackle this yourself and would like this functionality in ein, I can try to finish my implementation, and submit a PR. Is there some way to make this call: (ein:kernel-object-info-request kernel fn callbacks) synchronously, instead of relying on callbacks?