Commit graph

13 commits

Author SHA1 Message Date
Nathaniel Nicandro
0e6192c86e
Refactor implementation of :dir option in Jupyter src-block's 2019-01-18 23:01:57 -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
c70aeec6b6
Fix for "No matching paren" when entering Pkg mode in IJulia REPL 2019-01-17 20:45:45 -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
9d01315b56 Fix completion prefix for Julia kernels
Always add \ to the prefix when completing latex.
2018-11-26 12:37:37 -06:00
Nathaniel Nicandro
2a7b221009 Don't require an external package that may not exist everywhere 2018-11-26 12:37:37 -06:00
Nathaniel Nicandro
383f897023 Small refactoring 2018-11-26 12:37:37 -06:00
Nathaniel Nicandro
3781c07151 Add the jupyter-org-error-location method
This method is to support jumping to the line where an error occurred in a code
block directly from the `org-mode` buffer.
2018-11-26 12:37:37 -06:00
Nathaniel Nicandro
081f329da1 v0.6.0 2018-11-16 00:27:47 -06:00
Nathaniel Nicandro
a0dc347ed7 Add jupyter-julia-update-prompt
* Factor out the prompt updates in `jupyter-repl-after-change` for Julia
  kernels by using `jupyter-julia-update-prompt` to make the updates.
2018-11-04 23:56:42 -06:00
Nathaniel Nicandro
f96b258329 jupyter-repl-after-change: Use jupyter-repl-cell-reset-prompt for Julia 2018-11-04 23:56:42 -06:00
Nathaniel Nicandro
795c9b2542 Add jupyter-load-file-code 2018-10-25 23:59:47 -05:00
Nathaniel Nicandro
8896e88476 Move language support definitions to their own files
* Define `jupyter-load-language-support` which takes a client and loads the
  language support definitions of the client's kernel language.

* Call `jupyter-load-language-support` when initializing a REPL buffer in
  `jupyter-repl-mode`. Note this also takes care of loading the kernel support
  for a `jupyter-org-client' since a REPL buffer is setup before evaluating any
  `org-mode` source code blocks.

* Move language specific methods to their own files named `jupyter-LANGUAGE.el`
2018-10-25 23:59:46 -05:00