@@ -1196,7 +1196,7 @@ called interactively."
1196
1196
1197
1197
(cl-defgeneric jupyter-inspect (code &optional pos buffer detail)
1198
1198
" Inspect CODE.
1199
- Send an `:inspect-request' with the `jupyter-current-client' and
1199
+ Send an inspect_request with the `jupyter-current-client' and
1200
1200
display the results in a BUFFER.
1201
1201
1202
1202
CODE 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
1274
1274
CODE is the required context for TYPE (either `inspect' or
1275
1275
`completion' ) and POS is the relative position of `point' within
1276
1276
CODE. 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' .
1280
1280
1281
1281
The default methods return the `jupyter-line-or-region-context' ." )
1282
1282
@@ -1700,26 +1700,28 @@ function `jupyter-kernel-language-mode-properties'.")
1700
1700
(defun jupyter-kernel-info (client )
1701
1701
" Return the kernel info plist of CLIENT.
1702
1702
Return 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
1704
1704
kernel-info slot to the plist retrieved from the kernel, and
1705
1705
return it.
1706
1706
1707
1707
If 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.
1709
1709
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."
1714
1715
(cl-check-type client jupyter-kernel-client)
1715
1716
; ; TODO: This needs to be reset when a client is disconnected. This
1716
1717
; ; should be part of the connection process.
1717
1718
(or (oref client kernel-info)
1718
1719
(progn
1719
1720
(message " Requesting kernel info... " )
1720
1721
; ; 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.
1723
1725
(jupyter-with-client-buffer client
1724
1726
(jupyter-run-with-client client
1725
1727
(jupyter-mlet* ((msg (jupyter-reply
0 commit comments