Commit graph

1498 commits

Author SHA1 Message Date
Nathaniel Nicandro
b848c24f4c
jupyter-org--append-result: Preserve point when handling latex 2019-02-09 15:23:02 -06:00
Nathaniel Nicandro
a99863de90 jupyter-completing-read-kernelspec: Fail if no kernelspecs available
Also fail if none of the available kernelspecs were selected.
2019-02-09 14:36:00 -06:00
Nathaniel Nicandro
f716de5a67 Update README
Close #15.
2019-02-09 14:35:00 -06:00
Nathaniel Nicandro
159e6ffdb1 Remove stale comment 2019-02-09 14:34:00 -06:00
Nathaniel Nicandro
3d6dece151 Fix jupyter-inspect in org-mode 2019-02-09 14:33:00 -06:00
Nathaniel Nicandro
611b069f91 Don't slow down src-block result insertion if no latex results
Check for a latex fragment org-element instead of skipping over words. The
previous behavior would cause a large slow down if the results contained a
large amount of text.
2019-02-09 14:32:00 -06:00
Nathaniel Nicandro
647f32e405 jupyter-start-kernel: Ensure runtime directory exists
`make-temp-file` tries to read the `temporary-file-directory` and fails if it
does not exist yet so ensure that it does exist. Fixes #3.
2019-02-09 09:19:00 -06:00
Nathaniel Nicandro
44652c2d7a jupyter-org-image-link: Simplify construction of attribute string 2019-02-09 09:18:00 -06:00
Nathaniel Nicandro
260ba128eb jupyter-repl-ret: Don't send messages when the kernel is busy 2019-02-09 09:17:00 -06:00
Nathaniel Nicandro
f85993e2ba jupyter-org-request-silent -> jupyter-org-request-silent-p 2019-02-09 09:16:00 -06:00
Nathaniel Nicandro
10d189f373 Fix #12: Pop up traceback when :results silent 2019-02-09 09:15:00 -06:00
Sebastian Pech
81f9f60705 Add variables to customize how short evaluation results are displayed (#21)
* Add `jupyter-eval-short-result-display-function`

* Add `jupyter-eval-short-result-max-lines`
2019-02-08 19:28:54 -06:00
Nathaniel Nicandro
ce6c92a2c4
jupyter-repl-interaction-mode: Remove missing functions from hooks
`jupyter-eldoc-documentation` and `jupyter--xref-backend` are WIPs that somehow
got into master.
2019-02-07 20:01:30 -06:00
Nathaniel Nicandro
24a79e29f2
Fix checkdoc error 2019-02-07 13:44:14 -06:00
Nathaniel Nicandro
5f264ab03a
jupyter-eval-string: Remove redundancy 2019-02-07 13:34:36 -06:00
Nathaniel Nicandro
2d31af6aa7
Update README 2019-02-07 13:34:36 -06:00
Nathaniel Nicandro
0a34860707
Fix package-lint errors 2019-02-07 11:17:24 -06:00
Nathaniel Nicandro
771e267034
Fix checkdoc errors 2019-02-06 22:49:41 -06:00
UndeadKernel
321e8fe81f fix: use Bash shell and omit rm errors (#13)
Without this change, if the user does not have bash, `command` fails (as
it is a bash built-in). Explicitly set bash to be the shell.

Omit error messages of the `rm` command while cleaning.
2019-02-06 14:26:52 -06:00
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