Nathaniel Nicandro
f77e5dc22e
Refactor jupyter-repl-construct-completion-candidates
2018-05-15 16:45:25 -05:00
Nathaniel Nicandro
c0e4383c49
Add more debug statements
2018-05-15 16:45:25 -05:00
Nathaniel Nicandro
d0c09808e7
Fix bug in jupyter-repl-client-has-manager-p
2018-05-15 16:45:25 -05:00
Nathaniel Nicandro
16f5adcb9b
Sync execution state if kernel was previously busy
2018-05-15 16:45:25 -05:00
Nathaniel Nicandro
936bc34c9b
Remove xterm-color
dependency
2018-05-15 16:45:25 -05:00
Nathaniel Nicandro
afb00e8dd2
Ensure dependencies are met before attempting to handle rich output
2018-05-15 16:45:24 -05:00
Nathaniel Nicandro
f9394b206e
Fix edge case when navigating backward in history
2018-05-15 16:45:24 -05:00
Nathaniel Nicandro
7d7b7650b9
Mainly code style changes
2018-05-15 16:45:24 -05:00
Nathaniel Nicandro
670611ded1
Update code comments and documentation
2018-05-15 16:45:24 -05:00
Nathaniel Nicandro
fc665655f8
Remove jupyter-connection
...
To make up for this:
- Move the functions defined in `jupyter-connection.el` to `jupyter-base.el`
- Add a `session` field to the `jupyter-kernel-manager` and `jupyter-channel`
classes
- Add a `kernel-info` field to the `jupyter-repl-client`
- Add a `conn-info` field to a `jupyter-session`
- Add a `session` field to `jupyter-kernel-client`
2018-05-15 16:45:24 -05:00
Nathaniel Nicandro
e8b42a63e0
Handle edge case in jupyter-repl-backward-cell
2018-05-15 16:45:24 -05:00
Nathaniel Nicandro
5be1050ea7
Display using a different mimetype if text/plain
is unavailable in jupyter-repl-eval-string
2018-05-15 16:45:23 -05:00
Nathaniel Nicandro
a15c59db33
Always inhibit the handlers that are being overridden
2018-05-15 16:45:22 -05:00
Nathaniel Nicandro
15503e1846
More fine tuned syntactic fontification
2018-05-15 16:45:22 -05:00
Nathaniel Nicandro
4c04436feb
Really prevent insertion of text in a finalized cell
2018-05-15 16:45:18 -05:00
Nathaniel Nicandro
d9e38faf35
Markdown links for the Julia kernel are clickable
2018-05-13 12:11:14 -05:00
Nathaniel Nicandro
bcd45b6db4
Tiny refactors/optimizations
2018-05-13 12:11:08 -05:00
Nathaniel Nicandro
6fec4e2d85
Implement jupyter-repl-scratch-buffer
2018-05-06 03:18:05 -05:00
Nathaniel Nicandro
ef69521202
Update documentation and comments
2018-02-12 11:06:09 -06:00
Nathaniel Nicandro
32bee0bd67
Fix REPL callbacks to take into account the REPL's status handler
...
The status handler should only run for execute requests and should be
inhibited for other kinds of requests.
2018-02-12 10:58:36 -06:00
Nathaniel Nicandro
c4a1d6aa97
Remove old variable
2018-02-12 10:57:45 -06:00
Nathaniel Nicandro
09534ab6fb
Don't error out in a predicate, just return nil
2018-02-12 10:57:19 -06:00
Nathaniel Nicandro
26544b95ca
Refactor jupyter-repl-ret
to (hopefully) be more obvious in what its doing
2018-02-12 10:55:22 -06:00
Nathaniel Nicandro
24eb475443
Cleanup comments
2018-02-12 10:25:13 -06:00
Nathaniel Nicandro
c4170acb77
Remove jupyter-repl-restart-channels
...
The channel process should not have to be restarted. This was needed because
signals weren't being handled properly in the subprocess.
2018-02-09 17:25:15 -06:00
Nathaniel Nicandro
9650fecf82
Remove uses of jupyter-request-run-handlers-p
2018-02-09 17:22:27 -06:00
Nathaniel Nicandro
b68404970f
Add jupyter-repl-language-mode
2018-02-09 17:21:10 -06:00
Nathaniel Nicandro
d73fd28d4d
Handle edge case when point-min
is the beginning of a cell
2018-02-09 17:18:29 -06:00
Nathaniel Nicandro
255247788c
Remove uses of seq
functions
...
Since this is an emacs 25 dependency and there were not many uses of these
functions, remove them.
2018-02-09 09:11:57 -06:00
Nathaniel Nicandro
5f72b85db3
Refactor jupyter-repl-code-context-at-point
for readability
...
Also remove unused code
2018-02-09 03:16:50 -06:00
Nathaniel Nicandro
4121cee1ba
Use jupyter-repl-cell-code-beginning-position
when getting position in cell code
2018-02-08 12:49:17 -06:00
Nathaniel Nicandro
d1e008e6d1
Fix edge case in history navigation
...
When the cell code initially does not contain a history element and you would
like to navigate backward in history, the previous behavior did not take into
account the N argument of `jupyter-repl-history-previous` in this case.
The new behavior does.
2018-02-08 12:29:08 -06:00
Nathaniel Nicandro
ff51ee8740
Remove the busy status of a cell when an idle message is received
2018-02-08 12:14:35 -06:00
Nathaniel Nicandro
2a602246de
Revert back to correct behavior
2018-02-06 17:45:12 -06:00
Nathaniel Nicandro
072dce7c00
Negligible changes
2018-02-04 18:22:56 -06:00
Nathaniel Nicandro
43fc5a6ab8
Remove superfluous newlines when executing code
2018-02-04 18:21:12 -06:00
Nathaniel Nicandro
731480a4dd
Don't add a newline in stream output
2018-02-04 18:20:11 -06:00
Nathaniel Nicandro
f466b3adcc
[WIP] Better support for display-data messages
2018-02-04 18:19:08 -06:00
Nathaniel Nicandro
8d7e0a3bd7
Update comments
2018-02-04 18:18:19 -06:00
Nathaniel Nicandro
09ef799535
Use jupyter-inhibit-handlers
2018-02-04 17:57:18 -06:00
Nathaniel Nicandro
dae244f146
Fix mispelled word
2018-02-03 21:51:01 -06:00
Nathaniel Nicandro
84cc6d1b12
Add jupyter-repl-connected-p
2018-02-03 21:49:46 -06:00
Nathaniel Nicandro
db485268c8
Simplify jupyter-repl-cell-line-p
2018-02-03 20:59:57 -06:00
Nathaniel Nicandro
8627c4892a
Fix mispelled variable name
2018-02-03 19:06:10 -06:00
Nathaniel Nicandro
c2c62329cb
Take into account a narrowed buffer
2018-02-03 19:06:10 -06:00
Nathaniel Nicandro
14276c74f9
Don't let bind jupyter-repl-current-client
...
This gets rid of a warning when locally setting a let binded variable
2018-02-03 19:06:10 -06:00
Nathaniel Nicandro
d77f17be8f
Remove the rest of the uses of jupyter-repl-same-lang-mode
2018-02-03 19:06:10 -06:00
Nathaniel Nicandro
82f0701a94
Be clearer when starting a kernel interactively or non-interactively in run-jupyter-repl
2018-02-03 19:06:10 -06:00
Nathaniel Nicandro
778a97aa2f
Externalize payload handling to jupyter-repl--handle-payload
2018-02-03 19:06:09 -06:00
Nathaniel Nicandro
57353c0f86
Silence checkdoc warnings
2018-02-03 19:06:09 -06:00