Document output truncation config/command

This commit is contained in:
Takafumi Arakaki 2012-07-17 19:15:00 +02:00
parent 460ae08575
commit c643e97cef
2 changed files with 7 additions and 1 deletions

View file

@ -300,6 +300,7 @@ Notebook
.. el:variable:: ein:notebook-console-executable
.. el:variable:: ein:notebook-console-args
.. el:variable:: ein:cell-traceback-level
.. el:variable:: ein:cell-max-num-outputs
.. el:variable:: ein:scratch-notebook-name-template
Connect
@ -409,6 +410,9 @@ v0.1.1
* Plain text type output is favored over LaTeX type output
(previous setting was opposite).
* Add :el:symbol:`ein:notebook-rename-to-scratch-command`.
* Introduce :el:symbol:`ein:notebook-show-in-shared-output` command
and :el:symbol:`ein:cell-max-num-outputs` configuration variable to
truncate long output and show it in a separated buffer.
v0.1
----

View file

@ -787,7 +787,9 @@ Do not clear input prompts when the prefix argument is given."
(ein:log 'error "Not in notebook buffer!")))
(defun ein:notebook-show-in-shared-output ()
"Show in shared-output buffer."
"Show truncated code cell ouput in shared-output buffer.
See also `ein:cell-max-num-outputs' to how to truncate long
output."
(interactive)
(ein:notebook-with-cell #'ein:codecell-p
(ein:shared-output-show-code-cell cell)))