tpapp / julia-repl

Run an inferior Julia REPL in a terminal inside Emacs
Other
169 stars 35 forks source link

vterm not available on MS-Windows #130

Open StefanPofahl opened 1 year ago

StefanPofahl commented 1 year ago

When reporting an issue, please provide

  1. the Emacs version (M-x emacs-version [RET], will also appear in the buffer *Messages*), independent from emacs version

  2. the Julia version (VERSION) independent from Julia version

  3. the version of julia-repl (something like “latest master” is fine). “latest master”

  4. self-contained steps to replicate the issue. Installation on a MS-windows computer see: https://github.com/akermu/emacs-libvterm

An configuration example for emacs under MS-Windows would be nice.

tpapp commented 1 year ago

Sorry, I don't understand why this is an issue with this package. If you don't have vterm, just use the other backend.

StefanPofahl commented 1 year ago

Thanks! - That is nice to read :-) Could you give an advice for MS-Windows OS? And could you provide an example init.el?

wentasah commented 1 year ago

I think that the example in https://github.com/tpapp/julia-repl#installation-and-loading should work on Windows. It will not use the vterm backend, but the default one. If it doesn't work, tell us which errors you see.

StefanPofahl commented 1 year ago

Hi thanks for the advice! I am not interested to use the default backend, I would like to understand which backend is best suited under MS-windows. In my init.el I have experimented with the short sequence you refer to.

(add-to-list 'load-path path-to-julia-repl)
(require 'julia-repl)
(add-hook 'julia-mode-hook 'julia-repl-mode) ;; always use minor mode

And yes I face a severe issue, the julia-repl-process does not find the julia directory, see: MS-Windows: could not capture basedir for Julia executable

wentasah commented 1 year ago

BTW Do you have to use native Windows emacs? vterm should work under WSL.