Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ install:
script:
- $EMACS --version
- $EMACS --batch -L . -l ci-cfg -l ci-deps
- $EMACS --batch -L . -l ci-cfg --eval "(setq byte-compile-error-on-warn t)" -f batch-byte-compile julia-repl.el
# - $EMACS --batch -L . -l ci-cfg --eval "(setq byte-compile-error-on-warn t)" -f batch-byte-compile julia-repl.el
- $EMACS --batch -L . -l ci-cfg -l ert -l julia-repl-tests.el -f ert-run-tests-batch-and-exit;

notifications:
Expand Down
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,11 @@ If you are using the same settings for a specific file, consider using [file var

then the next time you open a REPL, it will have the name `*julia-master-tests*`, and 4 worker processes.

## Interacting with `term`
## Terminal backends

`julia-repl` can use the terminal in different ways. The default is `ansi-term`, which is included in Emacs. There is experimental support for [`vterm` via `emacs-libvterm`](https://github.com/akermu/emacs-libvterm).

### Some hints on interacting with `term`

Note some keybindings for `term`:

Expand All @@ -115,6 +119,16 @@ Note some keybindings for `term`:

See the help of `term` for more.

### Using `vterm` (experimental)

Support for the vterm backend is WIP. In the long run it is hoped that it will replace `ansi-term` as the default backend for this package, fixing many outstanding issues.

1. Install [`emacs-libvterm`](https://github.com/akermu/emacs-libvterm) and make sure you have a working installation (eg `M-x vterm`) should start a terminal

2. Evaluate `(julia-repl-set-terminal-backend 'vterm)` in your config file *after* you load `julia-repl`, but *before* you use it (and of course `vterm` should be loaded at some point). Switching terminal backends with already running Julia processes is not supported.

3. You may want to `(setq vterm-kill-buffer-on-exit nil)` to prevent the buffers associated with terminated Julia processes being killed automatically. This allows you to retain output and see error messages if the process does not start.

## Using the @edit macro

The `@edit` macro can be called with `C-c C-e` when the `julia-repl-mode` minor mode is enabled. The behavior depends on the value of the `JULIA_EDITOR` envoronment variable in the Julia session. The command `julia-repl-set-julia-editor` is provided to conveniently control this from emacs.
Expand Down
Loading