You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found jupyter-repl-cell-post-send-hook for the begining of evaluation, and jupyter-add-hook, but I'm not sure if that runs when I think it does, nor what values CLIENT will accept..
Thanks!
The text was updated successfully, but these errors were encountered:
There are the jupyter-shell-message-hook and the like.
You can use them like so
(defunnn/on-execute-reply (clientmsg)
(when (equal (jupyter-message-type msg) "execute_reply")
(let ((req
;; The actual `jupyter-request' object associated with the;; message. You can access all the messages associated;; with the request using `jupyter-request-messages'.
(plist-get msg :parent-request)))
;; Do something
)))
(jupyter-add-hook client 'jupyter-shell-message-hook#'nn/on-execute-reply)
You can add to jupyter-shell-message-hook (the global value) using just add-hook to do something for every client.
I've found
jupyter-repl-cell-post-send-hook
for the begining of evaluation, andjupyter-add-hook
, but I'm not sure if that runs when I think it does, nor what values CLIENT will accept..Thanks!
The text was updated successfully, but these errors were encountered: