@@ -1196,7 +1196,7 @@ called interactively."
11961196
11971197(cl-defgeneric jupyter-inspect (code &optional pos buffer detail)
11981198 " Inspect CODE.
1199- Send an `:inspect-request' with the `jupyter-current-client' and
1199+ Send an inspect_request with the `jupyter-current-client' and
12001200display the results in a BUFFER.
12011201
12021202CODE is the code to inspect and POS is your position in the CODE.
@@ -1274,9 +1274,9 @@ DETAIL is the detail level to use for the request and defaults to
12741274CODE is the required context for TYPE (either `inspect' or
12751275`completion' ) and POS is the relative position of `point' within
12761276CODE. Depending on the current context such as the current
1277- `major-mode' , CODE and POS will be used for `:complete-request' s
1278- originating from `jupyter-completion-at-point' and
1279- `:inspect-request' s from `jupyter-inspect-at-point' .
1277+ `major-mode' , CODE and POS will be used for a complete_request
1278+ originating from `jupyter-completion-at-point' and an
1279+ inspect_request from `jupyter-inspect-at-point' .
12801280
12811281The default methods return the `jupyter-line-or-region-context' ." )
12821282
@@ -1700,26 +1700,28 @@ function `jupyter-kernel-language-mode-properties'.")
17001700(defun jupyter-kernel-info (client )
17011701 " Return the kernel info plist of CLIENT.
17021702Return CLIENT's kernel-info slot if non-nil. Otherwise send a
1703- `:kernel-info-request' to CLIENT's kernel, set CLIENT's
1703+ kernel_info_request to CLIENT's kernel, set CLIENT's
17041704kernel-info slot to the plist retrieved from the kernel, and
17051705return it.
17061706
17071707If the kernel CLIENT is connected to does not respond to a
1708- `:kernel-info-request' , raise an error.
1708+ kernel_info_request , raise an error.
17091709
1710- Note, the value of the :name key in the :language_info property
1711- list is a symbol as opposed to a string for the purposes of
1712- method dispatching. Also all instances of \" \" in the language
1713- name are changed to \" -\" and all uppercase characters lowered."
1710+ Note, the value of the `:name' key in the `:language_info'
1711+ property list is a symbol as opposed to a string for the purposes
1712+ of method dispatching. Also all instances of \" \" in the
1713+ language name are changed to \" -\" and all uppercase characters
1714+ lowered."
17141715 (cl-check-type client jupyter-kernel-client)
17151716 ; ; TODO: This needs to be reset when a client is disconnected. This
17161717 ; ; should be part of the connection process.
17171718 (or (oref client kernel-info)
17181719 (progn
17191720 (message " Requesting kernel info... " )
17201721 ; ; Don't generate this request in an unknown buffer. This is
1721- ; ; mainly so that the Org client's generate-request doesn't
1722- ; ; confuse it for an execute_request in the Org buffer.
1722+ ; ; mainly so that the Org client's `jupyter-generate-request'
1723+ ; ; doesn't confuse it for an execute_request in the Org
1724+ ; ; buffer.
17231725 (jupyter-with-client-buffer client
17241726 (jupyter-run-with-client client
17251727 (jupyter-mlet* ((msg (jupyter-reply
0 commit comments