mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 23:41:38 -05:00
Default message handlers don't do anything
This commit is contained in:
parent
e59086cad6
commit
fe13c02e42
1 changed files with 1 additions and 7 deletions
|
@ -607,10 +607,7 @@ is received."
|
||||||
(_ (error "Message type not handled yet.")))))
|
(_ (error "Message type not handled yet.")))))
|
||||||
|
|
||||||
(cl-defmethod jupyter-handle-stream ((client jupyter-kernel-client) name text)
|
(cl-defmethod jupyter-handle-stream ((client jupyter-kernel-client) name text)
|
||||||
"Default stream handler."
|
"Default stream handler.")
|
||||||
(cond
|
|
||||||
((equal name "stdout") (print text))
|
|
||||||
((equal name "stderr") (error text))))
|
|
||||||
|
|
||||||
(cl-defmethod jupyter-handle-execute-input ((client jupyter-kernel-client)
|
(cl-defmethod jupyter-handle-execute-input ((client jupyter-kernel-client)
|
||||||
code
|
code
|
||||||
|
@ -629,9 +626,6 @@ is received."
|
||||||
traceback)
|
traceback)
|
||||||
"Default error handler.")
|
"Default error handler.")
|
||||||
|
|
||||||
;; TODO Have a queue of execution results, when status goes idle,
|
|
||||||
;; send/update/do something with the execution results that were previously
|
|
||||||
;; stored.
|
|
||||||
(cl-defmethod jupyter-handle-status ((client jupyter-kernel-client) execution_state)
|
(cl-defmethod jupyter-handle-status ((client jupyter-kernel-client) execution_state)
|
||||||
"Default status handler.")
|
"Default status handler.")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue