How can I interrupt the IPython interpreter as opened in emacs?

半世苍凉 提交于 2019-12-22 08:19:32

问题


Let's say I accidentally evaluate an enormous variable--a list with a ba-jillion elements, or whatever. As they scroll down my screen and my computer crawls to a halt, is there a good way to interrupt this without killing my *Python* buffer? I'm using IPython via python-mode.el and ipython.el in emacs24 on Mac OS X Leopard--

Thoughts appreciated, a.


回答1:


I usually C-c until it stops... and it usually works...




回答2:


you could file a feature request at

http://launchpad.net/python-mode

asking for a way how to limit the output displayed

Dunno if its possible, resp. how difficult to implement.



来源:https://stackoverflow.com/questions/6637219/how-can-i-interrupt-the-ipython-interpreter-as-opened-in-emacs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!