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

Strange `eldoc error: (text-read-only)' when create new Notebook #769

Closed blldw closed 3 years ago

blldw commented 3 years ago

I encounter the strange eldoc error: (text-read-only)' when editing in a new created Notebook. For example, I want to typeimport, but the error occurs just after I had typed a singlei'. However, this error won't occur in another computer. These two computers both run Ubuntu 18.04 OS, and use the same emacs configurations. Can I assure the error does not related with emacs and EIN configuration since EIN works well on other computers? If so, what could be the reason resulting my problem?

P.S.: The error won't occur either if editing in an existing .ipynb file, which is not created through 'New Notebook' menu from ein:notebooklist buffer.

dickmao commented 3 years ago

eldoc is independent of EIN. You need to (setq debug-on-error t) to get a backtrace.