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 123 forks source link

[Help]How to fold/shorten a long output? #894

Open MirageTurtle opened 4 months ago

MirageTurtle commented 4 months ago

I'm used to using logging when I work in jupyter notebook, and it may output so many log lines. Although I can redirect the log into file to avoid this issue, I still want to discover if there's some method to fold/shorten the long output. I don't think this is about OS and environment, but if you need, I'll try my best to provide the details. I think I tried to search some related keyword in the issue list, and I'm sorry if I miss some useful issue discussion.

I think there's some method because I found ein implement the folding of the error traceback (I can use ein:tb-show-km to check the all traceback).

BTW, I'm curious what km means. :)

Thank ein, and thank all the contributers! I like it!