Commit graph

60 commits

Author SHA1 Message Date
Nathaniel Nicandro
308a4779d8 Handle variations in kernelspec language names more smoothly
* README.org: Add notes on behavior when a kernel's language name has spaces
  and uppercase characters.

* jupyter-base.el (jupyter-canonicalize-language-string): New function.

* jupyter-client.el (jupyter-kernel-info): Use it.

* jupyter-kernelspec.el (jupyter-available-kernelspecs): Use it.

* ob-jupyter.el (org-babel-jupyter-aliases-from-kernelspecs): Use it.

* test/jupyter-test.el (jupyter-canonicalize-language-string): New test.
2020-03-13 00:09:28 -05:00
Yuji Nakao
f5560e56f6 Fix minor typo 2019-09-14 13:09:38 -05:00
Nathaniel Nicandro
2df28f2d9c README.org: Update TOC 2019-09-13 01:36:13 -05:00
Nathaniel Nicandro
91957986e1 Evaluation overlays
* README.org: Add section on `jupyter-eval-use-overlays`, minor formatting fix

* jupyter-client.el (jupyter-eval-overlay): New face.
(jupyter-eval-use-overlays, jupyter-eval-overlay-prefix): New custom variables.
(jupyter--display-eval-result): Remove function.
(jupyter-eval): Use `jupyter-eval-string`.
(jupyter-eval-result-callbacks): New function.
(jupyter-eval-add-callbacks): Result callbacks now obtained from
`jupyter-eval-result-callbacks`, only add callbacks for non-result message
types. Allow `beg` and `end` arguments remove `result-cb` argument, update all
callers.
(jupyter-eval-string): Allow `beg` and `end` arguments remove `cb` argument,
update all callers.
(jupyter-eval-string-command): Remove `cb` argument, update all callers.
(jupyter-eval-region): Ditto.
(jupyter-eval-line-or-region): Refactor.
(jupyter-eval-overlay-keymap): New keymap.
(jupyter-eval-ov--delete, jupyter-eval-ov--remove-all)
(jupyter-eval-ov--propertize, jupyter-eval-ov--fold-boundary)
(jupyter-eval-ov--expand-string, jupyter-eval-ov--make)
(jupyter-eval-ov--expand, jupyter-eval-ov--fold)
(jupyter-eval-toggle-overlay, jupyter-eval-remove-overlays)
(jupyter-eval-display-overlay, jupyter-eval-display-with-overlay-p): New
functions.

* jupyter-repl.el (jupyter-eval-string): Ensure callbacks are added in the
original (non-REPL) buffer the command was called from. So that
`jupyter-eval-display-with-overlay-p`, indirectly called by
`jupyter-eval-add-callbacks`, works.
(jupyter-repl-interaction-mode-map): Set `C-c C-o` binding to
`jupyter-eval-remove-overlays`.
2019-08-24 21:28:58 -05:00
Nathaniel Nicandro
388d7b923c Add Gitter badge 2019-08-02 13:58:41 -05:00
Nathaniel Nicandro
4e3a8d4dc2 README.org: Mention jupyter-api-authentication-method 2019-07-31 14:28:01 -05:00
Nathaniel Nicandro
a7da89eae4 README.org: Mention naming notebook server kernels 2019-07-24 16:59:04 -05:00
Nathaniel Nicandro
81797ccbb5 Mention server kernel list keybindings in README
Co-Authored-By: Deepak Cherian <dcherian@users.noreply.github.com>
2019-07-24 16:59:04 -05:00
Nathaniel Nicandro
b955f6a40b Add README section on notebook server support 2019-07-24 16:59:04 -05:00
Nathaniel Nicandro
1d282c948a Support kernel servers via org-mode source blocks 2019-07-24 16:59:04 -05:00
Ruslan
7918293c41 Added warning to README.org about possible conflicts with ob-ipython (#135) 2019-07-24 12:50:41 -05:00
Nathaniel Nicandro
f906e62ed0 Simplify wording in README 2019-07-17 15:53:14 -05:00
Nathaniel Nicandro
4c3168d53f Add jupyter-server-mode-set-client
This is an attempt at associating a REPL client with a buffer which was created
by emacsclient.
2019-06-30 12:36:41 -05:00
Nathaniel Nicandro
aedd0d41d6 Update README 2019-06-30 12:22:26 -05:00
Nathaniel Nicandro
40ee1ac8b9 Add new customizable variable jupyter-repl-echo-eval-p
Closes #71
2019-06-08 13:47:13 -05:00
Nathaniel Nicandro
fdaf7719d8 Fix README badges 2019-05-23 17:12:15 -05:00
Nathaniel Nicandro
4960b81196 Add Appveyor badge 2019-05-23 17:07:36 -05:00
Nathaniel Nicandro
0b970e857d Add jupyter-eval-short-result-max-lines to README 2019-05-21 18:43:45 -05:00
Nathaniel Nicandro
b5ea944d05 Update README and CHANGELOG 2019-05-20 22:46:46 -05:00
Nathaniel Nicandro
b715ada492 Always name method arguments
If method arguments are not named it gives rise to errors like

    `Args out of range: "", 0`

that originate in `help-function-arglist` when calling `describe-function` on
those methods.
2019-05-09 13:32:45 -05:00
Nathaniel Nicandro
112769e0c6
Bump version 2019-05-04 03:31:50 -05:00
jackkamm
748598b7be Add pandoc conversion of rich outputs (#97) 2019-04-28 15:17:19 -05:00
Nathaniel Nicandro
923e30e0f7
Update section in README about how to start a remote kernel
Closes #86
2019-04-10 09:44:43 -05:00
Nathaniel Nicandro
c3e67281f1
Add TOC in README 2019-03-28 14:31:17 -05:00
Nathaniel Nicandro
52253f4f84
README.org: Add note about Emacs module support 2019-03-16 14:39:28 -05:00
Nathaniel Nicandro
6eb86f0a52
README.org: Fix confusing wording 2019-03-13 18:24:37 -05:00
Nathaniel Nicandro
8f304e5b66
README.org: Add note about ob-async integration 2019-03-12 17:53:14 -05:00
Nathaniel Nicandro
98e4bd29d2
README.org: Add note about language support files 2019-03-12 14:28:46 -05:00
Nathaniel Nicandro
dbfcac1c90
Add org-babel-jupyter-override-src-block
Closes #41.
2019-03-01 18:09:27 -06:00
Nathaniel Nicandro
f25a9b6070
Update README on src-block header arguments 2019-02-22 08:48:24 -06:00
UndeadKernel
92d1d661c9 feature: Specify mime precedence using ":display" in org source blocks (#17)
A BEGIN_SRC block can specify which mime type to display by enabling the
user to manually set the priority order of mime types.

e.g.: In the following, :text/plain will be used before considering :text/html
#+BEGIN_SRC jupyter-python :display plain html
2019-02-22 07:56:22 -06:00
Nathaniel Nicandro
9aa58ebce2
Update obsolete documentation on client channels 2019-02-13 09:25:17 -06:00
Nathaniel Nicandro
4978c28add
Revert jupy- prefix to jupyter- for org-mode src-blocks
Closes #5.
2019-02-12 09:17:06 -06:00
Nathaniel Nicandro
e95f3bf3eb
Reword some parts of the README 2019-02-10 02:41:42 -06:00
Nathaniel Nicandro
f716de5a67 Update README
Close #15.
2019-02-09 14:35:00 -06:00
Nathaniel Nicandro
2d31af6aa7
Update README 2019-02-07 13:34:36 -06:00
Nathaniel Nicandro
3d6f3234e4
Update README 2019-01-13 22:19:25 -06:00
Nathaniel Nicandro
37b80ddbcd
Fix some typos and formatting issues 2019-01-12 20:57:22 -06:00
Adam B
fc4d2c3487 Cleanup table of keybindings for jupyter-repl-interaction-mode (#7)
Misnamed function and duplicate entry removed. Functions of form
jupyter-repl-eval-* were updated in README to point to new form jupyter-eval-*.
2019-01-10 23:07:00 -06:00
Nathaniel Nicandro
da1340ac2d
Update README 2018-12-10 21:36:35 -06:00
Nathaniel Nicandro
0416923c50
Update README 2018-12-01 15:05:59 -06:00
Nathaniel Nicandro
76725efcfd Update README.org 2018-11-26 12:37:37 -06:00
Nathaniel Nicandro
cec69a6d30 Change jupyter- org-mode prefix to jupy-
This is to avoid name clashing with another popular package that uses the same
prefix.
2018-11-24 22:13:28 -06:00
Nathaniel Nicandro
9f52459325 Add Travis badge 2018-11-17 12:21:57 -06:00
Nathaniel Nicandro
3b0a96de7d Update README 2018-11-16 00:27:47 -06:00
Nathaniel Nicandro
90b9223108 [WIP] Widget documentation 2018-11-01 01:56:58 -05:00
Nathaniel Nicandro
f60a3df749 Mention order of org-babel-load-languages in README 2018-10-27 22:16:54 -05:00
Nathaniel Nicandro
0efc00d49d Update README 2018-10-27 22:16:54 -05:00
Nathaniel Nicandro
5395d4d44a Rename connect-jupyter-repl -> jupyter-connect-repl, run-jupyter-repl -> jupyter-run-repl 2018-10-25 23:17:27 -05:00
Nathaniel Nicandro
a9246fcecb Rename with-jupyter-* to jupyter-with
Ensure that all functions and macros have the same
pseudo-namespace
2018-10-25 23:17:25 -05:00