Nathaniel Nicandro
9bb0415255
Handle :file parameter in a cleaner way
...
Temporarily remove the :file parameter from the src-block parameters so that
`org-babel` does insert it as the result of the src-block.
2019-01-26 18:44:23 -06:00
Nathaniel Nicandro
70f0429e07
jupyter-org--append-result: Handle appending to a table result
2019-01-26 18:42:15 -06:00
Nathaniel Nicandro
ee1078d0c7
org-babel-jupyter-cleanup-file-links: Handle links with no directory
2019-01-26 16:17:15 -06:00
Nathaniel Nicandro
ee62fafdf6
Fix #14 : Undo rear-nonsticky property inserted by insert-for-yank
2019-01-25 23:59:51 -06:00
Nathaniel Nicandro
d7fb71df02
jupyter-repl-indent-line: Only attempt to indent on code cell lines
2019-01-24 10:13:20 -06:00
Nathaniel Nicandro
9ef7553b8a
Handle field property specially when yanking in the REPL
2019-01-23 19:45:41 -06:00
Nathaniel Nicandro
dbaf9a5524
jupyter-
-> jupyter-test-
for test related macros
2019-01-23 19:41:46 -06:00
Nathaniel Nicandro
649c54c15f
Silence byte compiler
2019-01-23 19:41:20 -06:00
Nathaniel Nicandro
a6a04e44c5
jupyter-with-control-code-handling: Properly handle \r
...
If a \r appears as the last character in the inserted text of BODY,
`jupyter-handle-control-codes` does not delete the whole line. Instead it makes
the character invisible. It waits until future output comes in to delete the
whole line. The issue was that `jupyter-with-control-code-handling` was not
taking into account the \r character from previous output.
2019-01-22 23:32:14 -06:00
Nathaniel Nicandro
f9c1088e45
jupyter-kernelspecs-for-mode: More descriptive variable names
2019-01-22 18:39:17 -06:00
Nathaniel Nicandro
463245e4f9
jupyter-repl-initialize-fontification: Fix setting of fontify region function
2019-01-22 18:39:17 -06:00
Nathaniel Nicandro
9abdc3644d
Document functions related to jupyter-org-define-key
2019-01-22 18:39:17 -06:00
Nathaniel Nicandro
4e2e8642ed
Update a few comments
2019-01-22 18:39:17 -06:00
Nathaniel Nicandro
d709b31a64
Add jupyter-message-lambda
...
This simplifies the writing of message callbacks.
2019-01-22 18:39:17 -06:00
Nathaniel Nicandro
1054dc8857
Use when-let*
2019-01-22 12:14:32 -06:00
Nathaniel Nicandro
e439d3a531
jupyter-read-expression (jupyter-repl-client): Remove sentinel value
2019-01-19 15:28:03 -06:00
Nathaniel Nicandro
9560af95b2
jupyter-with-message-data: Add debug spec
2019-01-19 15:27:19 -06:00
Nathaniel Nicandro
ab7399f9c0
jupyter-org--set-current-src-block: Consider :post-affiliated keyword
2019-01-19 15:27:11 -06:00
Nathaniel Nicandro
0e6192c86e
Refactor implementation of :dir option in Jupyter src-block's
2019-01-18 23:01:57 -06:00
Nathaniel Nicandro
e01f09d97e
Add jupyter-kernel-busy-p
2019-01-18 22:06:37 -06:00
Nathaniel Nicandro
4795032335
jupyter-completion-prefix: Complete argument lists only in IJulia
...
Python will interpret a completion request here as asking for all possible
completions which is slow.
2019-01-18 22:02:24 -06:00
Nathaniel Nicandro
39fba18b06
Update kernel restart process
2019-01-18 22:02:13 -06:00
Nathaniel Nicandro
e2381e600c
jupyter-repl-propagate-client: Simplify logic
2019-01-18 22:00:58 -06:00
Nathaniel Nicandro
c70aeec6b6
Fix for "No matching paren" when entering Pkg mode in IJulia REPL
2019-01-17 20:45:45 -06:00
Nathaniel Nicandro
123d847a3e
jupyter-repl-interaction-map -> jupyter-repl-interaction-mode-map
2019-01-17 20:45:45 -06:00
Nathaniel Nicandro
0ed7f58c35
Add optional USE-FACE argument to fontification functions
2019-01-17 20:45:45 -06:00
Nathaniel Nicandro
c138d35b83
Remove stale comments
2019-01-17 20:45:45 -06:00
Nathaniel Nicandro
876c080f7f
Add jupyter-kernel-language-mode-properties
and related functions
2019-01-17 19:53:04 -06:00
Nathaniel Nicandro
fa809e7801
Fix keybinding in documentation
2019-01-17 19:01:01 -06:00
Nathaniel Nicandro
814300e883
jupyter-org-with-src-block-client: Mention that a client is created
2019-01-17 19:00:43 -06:00
Nathaniel Nicandro
0423fd6168
Simplify extraction of src-block kernel language
2019-01-17 19:00:28 -06:00
Nathaniel Nicandro
1c6a5e4363
jupyter--decode-message-part: Return nil when MSG is nil
2019-01-17 18:59:41 -06:00
Nathaniel Nicandro
9b955398cd
Fix 09ebdac
jupyter-org-result (text/plain): Be stricter with usage of `org-babel-script-escape
...
I guess I should actually run the tests before uploading to github...
2019-01-16 18:50:02 -06:00
Nathaniel Nicandro
4a392fce68
Update Travis for new default build option in emacs-zmq
2019-01-16 17:57:22 -06:00
Nathaniel Nicandro
03c75caf32
jupyter-drop-request (jupyter-org-request): Verify marker
2019-01-16 17:56:32 -06:00
Nathaniel Nicandro
09ebdac3f0
jupyter-org-result (text/plain): Be stricter with usage of org-babel-script-escape
2019-01-16 17:56:08 -06:00
Nathaniel Nicandro
0dd3946e1e
jupyter-inspect: Increase default timeout
2019-01-16 17:54:59 -06:00
Nathaniel Nicandro
5689819fc6
jupyter-eval-string: Handle stderr
2019-01-16 17:54:44 -06:00
Nathaniel Nicandro
8aec6a9f2e
jupyter-org-result: Fix method arguments
2019-01-16 17:53:57 -06:00
Nathaniel Nicandro
bf761b7990
org-babel-jupyter-cleanup-file-links: Another fix for search bound
...
`org-babel-result-end` assumes that `point` is on the first line of the result
not on the line containing the RESULTS keyword.
2019-01-15 16:05:48 -06:00
Nathaniel Nicandro
51a4d9b2d6
org-babel-jupyter-cleanup-file-links: Fix search bound
2019-01-14 19:00:36 -06:00
Nathaniel Nicandro
4878f6a41e
Don't assume point
is in the org-mode
buffer
2019-01-13 22:37:54 -06:00
Nathaniel Nicandro
3d6f3234e4
Update README
2019-01-13 22:19:25 -06:00
Nathaniel Nicandro
27c5b34717
Remove redundancy
2019-01-13 22:19:25 -06:00
Nathaniel Nicandro
6b7ecfcf08
Add execution-count slot to a jupyter-kernel-client
...
This allows the default `jupyter-kernel-client' implementation to do the work
of updating the execution count instead of having subclasses track it.
2019-01-13 22:19:25 -06:00
Nathaniel Nicandro
0c92afea26
Add the jupyter-handle-payload
method
...
This replaces the `jupyter-repl--handle-payload` function and allows payloads
to be handled in other contexts than the REPL, for example inserting a new
source block when receiving a set_next_input payload for the `org-mode` client.
2019-01-13 22:19:25 -06:00
Nathaniel Nicandro
bf057552d8
Promote org-babel-jupyter--cleanup-file-links
to a public function
2019-01-13 22:19:25 -06:00
Nathaniel Nicandro
36d2cd32ca
Better dynamic keybindings for Jupyter src-block's
2019-01-13 22:19:25 -06:00
Nathaniel Nicandro
2231eb2378
Add the org-babel-jupyter-transform-code
method
...
This method allows kernel languages to do transformations of a src-block's code
based on the parameters supplied to the src-block before sending the code to
the kernel. The method is called in `org-babel-expand-body:jupyter`. Currently
the only parameter supported is the `:dir` option of a src-block.
2019-01-13 22:05:35 -06:00
Nathaniel Nicandro
30be4a37d3
Be more robust when creating request objects in an org-mode
buffer
2019-01-13 22:05:35 -06:00