Commit graph

545 commits

Author SHA1 Message Date
Nathaniel Nicandro
dbd9ee48c1 Check current-buffer in jupyter-repl-same-lang-mode-p 2018-01-22 19:27:28 -06:00
Nathaniel Nicandro
19d2261494 Change semantics of a prefix argument in run-jupyter-repl 2018-01-22 19:26:18 -06:00
Nathaniel Nicandro
9ad1f516c3 Add connect-jupyter-repl to connect to an existing kernel. 2018-01-22 19:25:41 -06:00
Nathaniel Nicandro
db3a73d48f Various insignificant changes 2018-01-22 19:24:26 -06:00
Nathaniel Nicandro
5365052273 Be consistent about method arguments for request methods
Specifically always use keywords
2018-01-22 19:22:22 -06:00
Nathaniel Nicandro
341214f5a9 Add documentation 2018-01-22 19:21:44 -06:00
Nathaniel Nicandro
066cc4efc0 Silence checkdoc warnings 2018-01-22 19:12:47 -06:00
Nathaniel Nicandro
9e480c7e05 Update comments 2018-01-22 19:03:34 -06:00
Nathaniel Nicandro
7f09f14128 [WIP] Remove old requests when dropping idle ones 2018-01-22 18:57:32 -06:00
Nathaniel Nicandro
66f2837d8e Add note about subprocess lifetime 2018-01-22 18:50:04 -06:00
Nathaniel Nicandro
fa2658f168 Move custom variables to jupyter-base from jupyter-client 2018-01-22 18:49:19 -06:00
Nathaniel Nicandro
5763aa3beb Cleanup/add more documentation for jupyter-channels 2018-01-22 18:48:20 -06:00
Nathaniel Nicandro
16960cec3c Handle shutdown_reply sent on a shell channel 2018-01-22 18:36:48 -06:00
Nathaniel Nicandro
8ddaa2e469 Add header to jupyter-connection.el 2018-01-22 18:36:16 -06:00
Nathaniel Nicandro
51e48545a6 Fix use of progress reporter 2018-01-22 18:36:00 -06:00
Nathaniel Nicandro
c7a4874222 Only attempt to start a kernel when it is not already started 2018-01-22 18:35:25 -06:00
Nathaniel Nicandro
5cc6c7e475 Update documentation 2018-01-22 18:33:52 -06:00
Nathaniel Nicandro
f93dc7d27d Small refactor of jupyter-available-kernelspecs 2018-01-22 18:31:32 -06:00
Nathaniel Nicandro
2f0b27712c Allow for supplying a list of kernelspecs in jupyter-completing-read-kernelspec 2018-01-22 18:30:38 -06:00
Nathaniel Nicandro
c135d9b334 Just return nil if no kernelspec could be found in jupyter-get-kernelspec 2018-01-22 18:29:57 -06:00
Nathaniel Nicandro
44ff33085a Reword doc string in jupyter--ioloop-collect-messages 2018-01-21 01:08:10 -06:00
Nathaniel Nicandro
497a2b30b5 Remove missing variable language-name 2018-01-21 01:07:33 -06:00
Nathaniel Nicandro
8f15a0c92b Fix use of removed function 2018-01-21 01:06:49 -06:00
Nathaniel Nicandro
d41751575a Re-emit error when kernel fails to start 2018-01-21 01:06:29 -06:00
Nathaniel Nicandro
c1b2330cc9 Handle all errors returned by zmq-poller-wait-all
Newer versions of `zmq-poller` signal an EAGAIN error
2018-01-21 01:04:38 -06:00
Nathaniel Nicandro
78a9b376eb Fix missing parentheses 2018-01-20 23:13:23 -06:00
Nathaniel Nicandro
7267577de0 Take into account changes in kernelspec code 2018-01-20 23:13:04 -06:00
Nathaniel Nicandro
d07b9e66fe Update to take into account changes in emacs-zmq 2018-01-20 21:39:20 -06:00
Nathaniel Nicandro
797b77df17 Update README.org 2018-01-18 23:10:51 -06:00
Nathaniel Nicandro
3b7a17ff34 Update documentation 2018-01-18 23:10:16 -06:00
Nathaniel Nicandro
22d79818c6 Add more debugging statements 2018-01-18 23:09:10 -06:00
Nathaniel Nicandro
42bb8bde69 Use warn instead of error when sanity checking 2018-01-18 23:04:22 -06:00
Nathaniel Nicandro
55bdef1b10 Add missing slots argument 2018-01-18 23:03:24 -06:00
Nathaniel Nicandro
3170a2305f Add documentation for jupyter-message convenience functions 2018-01-18 23:02:24 -06:00
Nathaniel Nicandro
43d5d4a8c9 Use cl-defgeneric for jupyter-kernel-manager methods
Also cleanup documentation
2018-01-18 23:00:31 -06:00
Nathaniel Nicandro
6934118012 Add progress reporters when starting a kernel 2018-01-18 22:47:18 -06:00
Nathaniel Nicandro
de635fdc3a Add customizable jupyter-runtime-directory variable
- Also fix the handling of `resource_dir` in a kernelspec argument vector
2018-01-18 22:45:17 -06:00
Nathaniel Nicandro
f27fad472b Add documentation to jupyter-kernel-manager slots 2018-01-18 22:43:52 -06:00
Nathaniel Nicandro
6c44684a9a Handle all cases in jupyter-repl-next-history
The default case in the `cond` should actually replace the cell code if
`no-replace` is nil since it represents the case when the current cell code is
not the top most element in the history ring but we would like it to be.
2018-01-18 22:39:02 -06:00
Nathaniel Nicandro
d92df1b88c Prevent prompt overlays from inheriting text properties
This is an issue when HTML output is inserted, it causes the output prompt to
misalign due to the text properties of adjacent text.
2018-01-18 22:29:26 -06:00
Nathaniel Nicandro
81a7536753 Move most of the REPL initialization to jupyter-repl-mode 2018-01-18 22:09:22 -06:00
Nathaniel Nicandro
3c0564c4f8 Cleanup how buffers displaying text are displayed 2018-01-18 22:02:51 -06:00
Nathaniel Nicandro
694eb6fd11 Remove the need for jupyter-repl-kernel-manager
If a `jupyter-repl-client` was created using a `juptyer-kernel-manager`, it
already has the manager as its `parent-instance`. Use this information.
2018-01-18 21:29:29 -06:00
Nathaniel Nicandro
fc052d3baf jupyter-connection objects have a kernel-info slot
This allows the kernel info to be shared between a kernel manager and the
clients that have the manager as its parent instance.
2018-01-18 21:14:27 -06:00
Nathaniel Nicandro
ba695ceec9 Remove links between buffers editing files and the REPL buffer when the clien is closed 2018-01-18 16:43:36 -06:00
Nathaniel Nicandro
131990311f Cleanup indentation 2018-01-18 16:43:04 -06:00
Nathaniel Nicandro
2e34f07edf Narrow to the cell code not the entire cell 2018-01-18 16:41:35 -06:00
Nathaniel Nicandro
4660b097b1 Fixup documentation 2018-01-18 16:40:27 -06:00
Nathaniel Nicandro
95ae9f15fc Rely on jupyter-repl-cell-code-beginning-position when getting the cell code 2018-01-18 16:36:46 -06:00
Nathaniel Nicandro
8f3d6132a0 Only display graphic mimetypes when a graphic display is available 2018-01-18 16:35:16 -06:00