On Wed, Nov 02 2016, Angel de Vicente wrote: > Hi, > > Tamas Papp <tkp...@gmail.com> writes: >> Hi Julia & Emacs users, > > I'm one of those :-) > >> I wrote a minor mode for starting and interacting with a Julia REPL from >> Emacs. It basically uses term, and defers to the Julia REPL for almost >> everything. The main reason for using this instead of ESS is that some >> packages, in particular Gallium and ASTinterpreter, require a more >> capable terminal. You get completion and other extras of the Julia REPL >> for free. > > when I have time I will try it, but just curious to know what julia-repl > will give me than I cannot do now. My setting involves running an > ansi-term inside Emacs, then running a screen session in it, and then > starting julia. I have a nice REPL environment there, with
Not much: julia-repl is only a few LOC. There is functionality to find an already running REPL, and raise it, or failing that, create one (C-c C-z), and pulling up docs on the current symbol, etc. But again, it is just a thin layer on ansi-term, I wrote it up to fix issue #1 in julia-emacs, because I did not see anything packaged, just basic code snippets floating around. I think that something one can (eventually) install from MELPA would be better in the long run. > What I miss from the ansi-term is that I cannot keep the whole > interaction in the buffer, which I grew accustomed to rely on when > running a regular shell inside Emacs. To illustrate, when running > something that generates a lot of output inside ansi-term, this gets > truncated, as you can see below, where the output starts with > -----0.1-----, etc., but most of the output is gone and only the last > parts remain (so I end up having a regular shell for long outputs and an > ansi-term for nice REPL interaction, but obviously it is not ideal). If > julia-repl solves that I'll buy it. :-) julia-repl can either use screen or not. With screen, you cannot scroll back beyond point. Without screen, you can --- I clarified it in the README and made it the default -- thanks! In any case, please submit issues, I am not an expert on packaging for emacs, just wrote this to solve a problem. Best, Tamas