Nathaniel Nicandro
5c89657995
Handle stream messages not made by our client
...
Stream messages not made by our client will be sent to a buffer and displayed.
Note this will only take affect if `jupyter-include-other-output` is non-nil
for the client.
2018-01-18 16:08:43 -06:00
Nathaniel Nicandro
dd6ec47bdb
Use jupyter-repl-insert-ansi-coded-text
when appropriate
2018-01-17 21:33:39 -06:00
Nathaniel Nicandro
4a7c463931
Refactor jupyter-repl-cell-line-p
...
- The use of `jupyter-repl-previous-cell` is to avoid erroring out in
`jupyter-repl-cell-code-beginning-position` if point is within the output of
a cell.
2018-01-17 21:30:39 -06:00
Nathaniel Nicandro
4b794ac3f9
Remove unecessary error handling
2018-01-17 21:29:54 -06:00
Nathaniel Nicandro
47c50f7c73
Remove edge case that doesn't matter anymore
...
If `pos` is not the beginning of a cell then a beginning can always be found
unless no cell beginning exists, even when `point-min` is the beginning of a
cell. These cases are already handled by the
surround code.
2018-01-17 21:27:04 -06:00
Nathaniel Nicandro
c670e4e620
Cleanup latex insertion
2018-01-17 21:25:16 -06:00
Nathaniel Nicandro
b95f8ce256
Update jupyter-repl-insert-markdown
to take into account newer version of markdown-mode
2018-01-17 21:24:29 -06:00
Nathaniel Nicandro
b30fc63e48
Add jupyter-repl-fixup-font-lock-properties
2018-01-17 21:23:52 -06:00
Nathaniel Nicandro
5cfb8d329b
Make use of the current execution state of a kernel
2018-01-17 21:22:12 -06:00
Nathaniel Nicandro
e2eafa64a4
Simplify builtin is-complete check
2018-01-17 21:05:50 -06:00
Nathaniel Nicandro
0a0e0df213
Add customizable timeout for is-complete requests
2018-01-17 21:04:22 -06:00
Nathaniel Nicandro
a363f639dd
Check if kernel is alive before attempting to execute cell
2018-01-17 21:02:56 -06:00
Nathaniel Nicandro
f67a486e9a
Use the language modes syntax table for the REPL buffer
2018-01-17 21:00:54 -06:00
Nathaniel Nicandro
1f457a4b1c
Add option to associate the current buffer automatically in run-jupyter-repl
2018-01-17 21:00:00 -06:00
Nathaniel Nicandro
2d0328dde5
Use a better workaround for margin display issue
2018-01-17 20:56:42 -06:00
Nathaniel Nicandro
1ee4b2b15d
Set the REPL kill buffer query function as a local hook
2018-01-17 20:56:06 -06:00
Nathaniel Nicandro
75e89bf9a1
Allow evaluating a region silently
2018-01-17 20:48:53 -06:00
Nathaniel Nicandro
5d18c6b6c1
Add jupyter-repl-eval-file
to send contents of a file to the kernel
2018-01-17 20:48:23 -06:00
Nathaniel Nicandro
00374cb41c
Add option to evaluate code without inserting into the REPL buffer
2018-01-17 20:47:05 -06:00
Nathaniel Nicandro
d0257740bb
Simplify variable names
2018-01-17 20:37:34 -06:00
Nathaniel Nicandro
e4c3088749
Add jupyter-inhibit-handlers
...
This removes the need for `jupyter-request-inhibit-handlers`
2018-01-17 20:34:32 -06:00
Nathaniel Nicandro
0bb69c6fac
Add missing jupyter-repl-interaction-mode
2018-01-16 11:49:29 -06:00
Nathaniel Nicandro
bbe383bb64
Add isearch
support for REPL input history
2018-01-16 11:46:05 -06:00
Nathaniel Nicandro
c693a8b75c
Add commands for managing a REPL kernel
2018-01-16 11:45:39 -06:00
Nathaniel Nicandro
7e821d3e83
Add commands for sending text to a REPL
2018-01-16 11:44:48 -06:00
Nathaniel Nicandro
94df18e2c7
Add jupyter-repl-inspect-at-point
2018-01-16 11:44:13 -06:00
Nathaniel Nicandro
f15f788abc
Update note on window-margins
issue
2018-01-16 11:42:27 -06:00
Nathaniel Nicandro
0032652154
Cleanup prefix handling when constructing completion candidates
2018-01-16 11:41:38 -06:00
Nathaniel Nicandro
784f7291d5
Only attempt completion after a dot operator
...
The other operators are more language specific
2018-01-16 11:40:44 -06:00
Nathaniel Nicandro
22208aeadd
Simplify filling text when fontifying
...
The reason for the previous gymnastics was due to an old version of `markdown-mode`
2018-01-16 11:37:43 -06:00
Nathaniel Nicandro
f32c0a82b5
Handle mimetypes with empty content
2018-01-16 11:36:34 -06:00
Nathaniel Nicandro
f601113f51
No need to check for nil in jupyter-repl-cell-code-beginning-position
...
`jupyter-repl-cell-beginning-position` throws an error if the beginning of the
buffer is reached.
2018-01-16 11:35:16 -06:00
Nathaniel Nicandro
e19f5c4b6e
Update doc strings and comments
2018-01-16 11:34:22 -06:00
Nathaniel Nicandro
986de4f52b
Add predicate to determine if a cell is finalized
2018-01-16 11:31:58 -06:00
Nathaniel Nicandro
274061fc22
Make marking a cell as busy separate from finalizing a cell
2018-01-16 11:30:11 -06:00
Nathaniel Nicandro
98ca58efaf
Fix indentation
2018-01-16 11:27:53 -06:00
Nathaniel Nicandro
f0e345475f
Use updated jupyter-repl--inspect
2018-01-16 11:27:00 -06:00
Nathaniel Nicandro
5c0156bedc
Add optional buffer argument to jupyter-repl--inspect
2018-01-16 11:25:07 -06:00
Nathaniel Nicandro
a1150701d6
Only replace cell code if necessary in jupyter-repl-indent-line
2018-01-16 11:21:10 -06:00
Nathaniel Nicandro
a57dc51d75
Add option to only rotate history ring without code replacement
2018-01-16 11:20:32 -06:00
Nathaniel Nicandro
d7b435d111
Locally bind other-window-scroll-buffer
2018-01-16 11:18:54 -06:00
Nathaniel Nicandro
efe9d16228
Add jupyter-repl-insert-ansi-coded-text
2018-01-16 11:17:10 -06:00
Nathaniel Nicandro
c8990aa657
Be less obtuse in jupyter-repl-next-cell
2018-01-16 11:11:30 -06:00
Nathaniel Nicandro
4f9c24197c
Add with-jupyter-repl-doc-buffer
...
Meant to be used when wanting to display pager payloads and inspect replies
2018-01-14 14:32:33 -06:00
Nathaniel Nicandro
86e0eef405
Fix jupyter-handle-input-reply
for the REPL
...
`jupyter-repl-do-at-request` already goes to the right place for insertion
2018-01-14 13:58:31 -06:00
Nathaniel Nicandro
4d82867ab4
Handle negative numbers in jupyter-repl-history-(next|previous)
2018-01-14 00:05:06 -06:00
Nathaniel Nicandro
133be4aa92
Add documentation
2018-01-14 00:03:31 -06:00
Nathaniel Nicandro
06c149f76d
Add/update doc strings
2018-01-13 23:20:50 -06:00
Nathaniel Nicandro
9861d846de
Update custom group of jupyter-repl-client
2018-01-13 23:20:17 -06:00
Nathaniel Nicandro
d668f8ddff
Make variables permanent local variables
2018-01-13 23:19:34 -06:00