diff --git a/jupyter-client.el b/jupyter-client.el index 77db454..06510bf 100644 --- a/jupyter-client.el +++ b/jupyter-client.el @@ -527,17 +527,24 @@ by `jupyter--ioloop'." (jupyter-queue-message channel (cons idents msg)) (run-with-timer 0.0001 nil #'jupyter-handle-message client channel)))) (`(start-channel ,ctype) + (when jupyter--debug + (message "STARTING-CHANNEL: %s" ctype)) (let ((channel (jupyter--get-channel client ctype))) (oset channel status 'running))) (`(stop-channel ,ctype) + (when jupyter--debug + (message "STOPPING-CHANNEL: %s" ctype)) (let ((channel (jupyter--get-channel client ctype))) (oset channel status 'stopped))) ('(start) + (when jupyter--debug + (message "CLIENT STARTING")) ;; TODO: Generalize setting flag variables for IOLoop events and having ;; event callbacks. (process-put (oref client ioloop) :start t)) ('(quit) ;; Cleanup handled in sentinel + (process-put (oref client ioloop) :quit t) (when jupyter--debug (message "CLIENT CLOSED"))))) diff --git a/jupyter-repl-client.el b/jupyter-repl-client.el index 6d0b160..e03b8cf 100644 --- a/jupyter-repl-client.el +++ b/jupyter-repl-client.el @@ -1225,7 +1225,8 @@ execute the current cell." :code (jupyter-repl-cell-code))) jupyter-repl-maximum-is-complete-timeout))) (unless res - (message "Kernel did not respond to is-complete-request, using built-in is-complete") + (message "Kernel did not respond to is-complete-request, using built-in is-complete. +Reset `jupyter-repl-use-builtin-is-complete' to nil if this is only temporary.") (setq-local jupyter-repl-use-builtin-is-complete t) (jupyter-repl-ret force))) (goto-char (point-max))