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

Cell output sometimes doesn't display #68

Closed rhstanton closed 12 years ago

rhstanton commented 12 years ago

Every now and then, I find that a cell will not display its output when I press Alt-Enter. The calculation seems to complete OK, but all I see in the output area is a dot or two. If I create a new input cell, copy the contents of the old cell, and press Alt-Enter again, the new cell works fine, but the original cell never works, regardless of what command I put in it.

Here's an example which shows the same problem under both Windows and OS X:

Example notebook file

tkf commented 12 years ago

You can toggle visibility of the output by C-c C-e. If you have many cells like this, you can make output of all cells visible by C-u C-c C-v. See also http://tkf.github.com/emacs-ipython-notebook/#notebook

rhstanton commented 12 years ago

Thanks. So many features…!

Unfortunately, when I press C-u C-c C-v, I get a brief message saying “Entering debugger”, then Emacs hangs permanently!

From: Takafumi Arakaki [mailto:notifications@github.com] Sent: Saturday, August 25, 2012 9:09 PM To: tkf/emacs-ipython-notebook Cc: Richard Stanton Subject: Re: [emacs-ipython-notebook] Cell output sometimes doesn't display (#68)

You can toggle visibility of the output by C-c C-e. If you have many cells like this, you can make output of all cells visible by C-u C-c C-v. See also http://tkf.github.com/emacs-ipython-notebook/#notebook

— Reply to this email directly or view it on GitHubhttps://github.com/tkf/emacs-ipython-notebook/issues/68#issuecomment-8030044.

tkf commented 12 years ago

Thanks for the report. Indeed, there was a bug in C-u C-c C-v. I quickly fixed it so there should be no problem now.

If you are going to update EIN, be sure close all notebooks (or, even better, reboot Emacs) before updating.

BTW, the document is wrong about what (C-u) C-c C-v does. C-c C-v shows everything and C-u C-c C-v hides everything. It is opposite in the document.

rhstanton commented 12 years ago

That works now. Thanks.