# Julia-repl (Emacs) new release candidate - testers needed

**URL:** <https://discourse.julialang.org/t/julia-repl-emacs-new-release-candidate-testers-needed/7097>\
**Category:** Community\
**Tags:** announcement\
**Created:** [November 16, 2017, 9:28am UTC](https://discourse.julialang.org/t/julia-repl-emacs-new-release-candidate-testers-needed/7097 "2017-11-16T09:28:17Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [November 16, 2017, 9:28am UTC](https://discourse.julialang.org/t/julia-repl-emacs-new-release-candidate-testers-needed/7097/1 "2017-11-16T09:28:17Z")

</div>

[julia-repl](https://github.com/tpapp/julia-repl) is an Emacs mode that provides a Julia REPL inside Emacs using `ansi-term`, allowing an integrated workflow with [julia-emacs](https://github.com/JuliaEditorSupport/julia-emacs) that supports debugging, colors, and everything that requires a terminal.

I have been working on a new release, with the following additional features:

1. “clickable” error message [locations](https://tpapp.github.io/post/wip-julia-repl-clickable/),
2. `C-c C-b` (send the whole buffer to the REPL) uses `include` by default (less clutter),
3. all send commands (except `C-c RET`) now use [bracketed paste mode](https://cirw.in/blog/bracketed-paste).

Since I program in Emacs out of necessity, I would appreciate some testing from community members willing to help out before I tag this as a release. Just pull the latest master from the repo above, and provide feedback in this topic or [open an issue](https://github.com/tpapp/julia-repl/issues).

(special thanks to @mauro3, who has helped a lot with testing and suggestions).

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [November 18, 2017, 4:25pm UTC](https://discourse.julialang.org/t/julia-repl-emacs-new-release-candidate-testers-needed/7097/2 "2017-11-18T16:25:39Z")

</div>

I would like to thank everyone who provided feedback. No new bug reports, so I tagged the current master as `v0.1.0`. If you are using [MELPA](https://melpa.org/), it should be updated automatically next time you upgrade your Emacs packages.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [September 1, 2018, 6:35am UTC](https://discourse.julialang.org/t/julia-repl-emacs-new-release-candidate-testers-needed/7097/3 "2018-09-01T06:35:42Z")

</div>

There is again a new release candidate in the `master` branch of

> **[GitHub - tpapp/julia-repl: Run an inferior Julia REPL in a terminal inside Emacs](https://github.com/tpapp/julia-repl)**
>
> Run an inferior Julia REPL in a terminal inside Emacs - GitHub - tpapp/julia-repl: Run an inferior Julia REPL in a terminal inside Emacs

Compared to the last release, it contains fixes for Julia 1.0 & packages (eg output from Revise.jl), and  
the ability to [run multiple Julia versions and multiple processes for the same version](https://github.com/tpapp/julia-repl#buffer-local-inferior-repl-and-julia-executable).

Testing is welcome, please provide feedback here or in an issue. If all goes well, I will tag a release in a week.

---

<div class="post-metadata">

**Author:** ![mauro3](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mauro3/32/292_2.png) [@mauro3](https://discourse.julialang.org/u/mauro3)\
**Post date:** [September 1, 2018, 3:37pm UTC](https://discourse.julialang.org/t/julia-repl-emacs-new-release-candidate-testers-needed/7097/4 "2018-09-01T15:37:33Z")

</div>

In your readme you use `(expanduser "~/src/julia-git/julia")`, however in my emacs there is no `expanduser`. However, for me it works just using `"~/..."`.

---

<div class="post-metadata">

**Author:** ![mauro3](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mauro3/32/292_2.png) [@mauro3](https://discourse.julialang.org/u/mauro3)\
**Post date:** [September 1, 2018, 4:17pm UTC](https://discourse.julialang.org/t/julia-repl-emacs-new-release-candidate-testers-needed/7097/5 "2018-09-01T16:17:30Z")

</div>

Somewhat off topic:  
I found that if the julia session prints tons and tons of stuff (and may not responsive to C-c), then emacs becomes unusable. For instance running:

```julia
julia> while true
       print("hi ")
       end
hi hi hi ...

```

it can get pretty difficult to regain control, as issuing a C-c is not easy due to the sluggish emacs. Is there a way to make this better? (When running this in a terminal REPL, I can hit C-c no probs.)

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [September 1, 2018, 4:38pm UTC](https://discourse.julialang.org/t/julia-repl-emacs-new-release-candidate-testers-needed/7097/6 "2018-09-01T16:38:19Z")

</div>

Sometimes `C-g` works, but I don’t have a good fix for this.

Thanks for the report about `expanduser`, which is actually in Julia and I don’t know how it got to elisp code, but I removed it.

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [September 2, 2018, 12:31am UTC](https://discourse.julialang.org/t/julia-repl-emacs-new-release-candidate-testers-needed/7097/7 "2018-09-02T00:31:59Z")

</div>

> [@Tamas\_Papp](#):
>
> Thanks for the report about `expanduser`, which is actually in Julia and I don’t know how it got to elisp code, but I removed it.

[`expand-file-name`](https://www.gnu.org/software/emacs/manual/html_node/elisp/File-Name-Expansion.html#File-Name-Expansion) would be the Elisp equivalent of `expanduser`

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [September 2, 2018, 5:58am UTC](https://discourse.julialang.org/t/julia-repl-emacs-new-release-candidate-testers-needed/7097/8 "2018-09-02T05:58:55Z")

</div>

Thanks, but it looks like it is not needed as `ansi-term` can handle the `~` (at least in Linux). If I get a bug report about it, I will modify the README.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [September 2, 2018, 9:46am UTC](https://discourse.julialang.org/t/julia-repl-emacs-new-release-candidate-testers-needed/7097/9 "2018-09-02T09:46:23Z")

</div>

Also, added functionality in the [tp/activate](https://github.com/tpapp/julia-repl/tree/tp/activate) branch that looks for a `Project.toml` and activates it when found. The shortcut is `C-c C-a`. Will be merged pending a clarification from Pkg.jl.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [September 6, 2018, 12:11pm UTC](https://discourse.julialang.org/t/julia-repl-emacs-new-release-candidate-testers-needed/7097/10 "2018-09-06T12:11:15Z")

</div>

I merged the project activation functionality, so `C-c C-a` (in the Julia source file buffer) should now look for a `[Julia]Project.toml` in the containing directories, and if found, `pkg"activate ..."` it.

Also did some linting, but that should not affect anything. This is the last change I am planning before tagging a release, please test if you can (as always, you can just install from MELPA). If there are no problems, I will tag a release on Saturday.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [September 8, 2018, 12:37pm UTC](https://discourse.julialang.org/t/julia-repl-emacs-new-release-candidate-testers-needed/7097/11 "2018-09-08T12:37:54Z")

</div>

Tagged a stable release 🎉:

[https://github.com/tpapp/julia-repl/releases/tag/1.0.0](https://github.com/tpapp/julia-repl/releases/tag/1.0.0)

Should be available via [MELPA Stable](https://stable.melpa.org) shortly. As usual, bug reports and feature requests are welcome; and keeping on using `master` is appreciated as it helps with testing.

Future announcements will be in this topic.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [September 25, 2018, 7:26am UTC](https://discourse.julialang.org/t/julia-repl-emacs-new-release-candidate-testers-needed/7097/12 "2018-09-25T07:26:44Z")

</div>

New feature: in addition to the existing `C-c C-a` which looks for a `Project.toml` and activates the corresponding project, `C-u C-c C-a` reverts to the “home” (default) project. Already in released stable version.

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [November 1, 2018, 3:55am UTC](https://discourse.julialang.org/t/julia-repl-emacs-new-release-candidate-testers-needed/7097/13 "2018-11-01T03:55:44Z")

</div>

Is this working on Windows? I am getting an error:

Warning (emacs): could not capture basedir for Julia executable julia

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [November 1, 2018, 4:36am UTC](https://discourse.julialang.org/t/julia-repl-emacs-new-release-candidate-testers-needed/7097/14 "2018-11-01T04:36:32Z")

</div>

Unfortunately I just found an issue ([https://github.com/tpapp/julia-repl/issues/20](https://github.com/tpapp/julia-repl/issues/20)) which matches my own error messages. It appears something is broken in Emacs on Windows…

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [November 1, 2018, 11:52am UTC](https://discourse.julialang.org/t/julia-repl-emacs-new-release-candidate-testers-needed/7097/15 "2018-11-01T11:52:45Z")

</div>

I am happy to reopen the issue, but I don’t use Windows so I need help from someone who is willing to get to the bottom of this and make a PR.

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [November 1, 2018, 4:00pm UTC](https://discourse.julialang.org/t/julia-repl-emacs-new-release-candidate-testers-needed/7097/16 "2018-11-01T16:00:36Z")

</div>

I have tried many things. Apparently the Windows Emacs does not handle bash well. I keep getting the error

```julia
Spawning child process: invalid argument

```

Even starting a shell in Emacs and then trying to run Julia doesn’t work: the process cannot be communicated with.

---

<div class="post-metadata">

**Author:** ![oliver](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oliver/32/19264_2.png) [@oliver](https://discourse.julialang.org/u/oliver)\
**Post date:** [November 1, 2018, 9:50pm UTC](https://discourse.julialang.org/t/julia-repl-emacs-new-release-candidate-testers-needed/7097/17 "2018-11-01T21:50:07Z")

</div>

I posted having this same “issue” with Xterm, there is a means for modifying color via the docs @ [The Julia REPL · The Julia Language](https://docs.julialang.org/en/v1/stdlib/REPL/#Customizing-Colors-1)

The other “fix” is using `julia --color=no` though I’m actually not sure how to pass in args using M-x commands but I’m assuming this is possible in a emacs dot file.

 ![Screenshot_20181101_184200](https://global.discourse-cdn.com/julialang/original/3X/f/f/ffe8581646b7f2a43be5b25ef9d806ffa943e9c6.png)
