# Emacs ESS and Windows

**URL:** https://discourse.julialang.org/t/emacs-ess-and-windows/9175
**Category:** General Usage
**Created:** [February 19, 2018, 7:56pm UTC](https://discourse.julialang.org/t/emacs-ess-and-windows/9175 "2018-02-19T19:56:12Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![TonyRubak](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@TonyRubak](https://discourse.julialang.org/u/TonyRubak)
#### Post date: [February 19, 2018, 7:56pm UTC](https://discourse.julialang.org/t/emacs-ess-and-windows/9175/1 "2018-02-19T19:56:12Z")

</div>

I am trying to use emacs with ESS to work with Julia, but when I load Julia through emacs it hangs. Basically, the issue appears to be the same as [https://github.com/emacs-ess/ESS/issues/162](https://github.com/emacs-ess/ESS/issues/162) where it is claimed that the bug lies with Julia, and not with ESS.

---

<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: [February 21, 2018, 8:34am UTC](https://discourse.julialang.org/t/emacs-ess-and-windows/9175/2 "2018-02-21T08:34:36Z")

</div>

I cannot replicate or debug this since I don’t use Windows, but if you want this fixed your best bet is replicating it, then, if it is indeed a Julia bug, opening an issue and possibly submitting a PR for fixing it.

Otherwise, the intersection of Windows, Julia, Emacs, & ESS users may be too small for anyone to work on this, which is why I suspect this issue has been dormant so long.

---

<div class="post-metadata">

### Author: ![gdkrmr](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gdkrmr/32/2791_2.png) [@gdkrmr](https://discourse.julialang.org/u/gdkrmr)
#### Post date: [February 21, 2018, 9:28am UTC](https://discourse.julialang.org/t/emacs-ess-and-windows/9175/3 "2018-02-21T09:28:23Z")

</div>

You might want to try bash for windows or cygwin.

---

<div class="post-metadata">

### Author: ![ssfrr](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ssfrr/32/3736_2.png) [@ssfrr](https://discourse.julialang.org/u/ssfrr)
#### Post date: [February 21, 2018, 11:55am UTC](https://discourse.julialang.org/t/emacs-ess-and-windows/9175/4 "2018-02-21T11:55:24Z")

</div>

I can reproduce (running `julia` from the emacs shell works but doesn’t  
display a prompt, which apparently is the root cause of Julia not  
working in ESS). I’m not really sure how to troubleshoot whether it’s  
something the REPL is doing wrong or something weird about the emacs  
shell environment.

---

<div class="post-metadata">

### Author: ![gdkrmr](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gdkrmr/32/2791_2.png) [@gdkrmr](https://discourse.julialang.org/u/gdkrmr)
#### Post date: [February 21, 2018, 12:04pm UTC](https://discourse.julialang.org/t/emacs-ess-and-windows/9175/5 "2018-02-21T12:04:29Z")

</div>

you can also just open julia in a `*shell*` buffer and call `M-x ess-remote` on it

---

<div class="post-metadata">

### Author: ![ssfrr](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ssfrr/32/3736_2.png) [@ssfrr](https://discourse.julialang.org/u/ssfrr)
#### Post date: [February 21, 2018, 12:38pm UTC](https://discourse.julialang.org/t/emacs-ess-and-windows/9175/6 "2018-02-21T12:38:02Z")

</div>

Given that the problem exists when opened in a `*shell*` buffer do you think that will solve the issue? (I’m not familiar with ESS)

---

<div class="post-metadata">

### Author: ![bowmanja](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bowmanja/32/9921_2.png) [@bowmanja](https://discourse.julialang.org/u/bowmanja)
#### Post date: [August 23, 2019, 5:44pm UTC](https://discourse.julialang.org/t/emacs-ess-and-windows/9175/7 "2019-08-23T17:44:02Z")

</div>

Is there any way to get a workaround for this issue of not displaying the prompt for any emacs `*shell*` buffer calling julia? Here’s an updated issue since the OP that reiterates the issue of lacking a prompt for Windows OS: [#715 comment](https://github.com/emacs-ess/ESS/issues/715#issuecomment-430364029). I don’t know how I should go about replicating it and opening an issue, but I’m willing to do so.

I have been developing exclusively on my office OS X using emacs ESS, but it would be great to also be able to debug on my laptop.

---

<div class="post-metadata">

### Author: ![Marco\_Antoniotti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marco_antoniotti/32/18697_2.png) [@Marco\_Antoniotti](https://discourse.julialang.org/u/Marco_Antoniotti)
#### Post date: [February 18, 2021, 4:24pm UTC](https://discourse.julialang.org/t/emacs-ess-and-windows/9175/8 "2021-02-18T16:24:46Z")

</div>

Just bumped into this bug. W10, Emacs 27.x, Julia 1.5.1 and ESS.

Could it be a problem with the terminal settings of the Julia executable? Terminals (and shells) are known to have issues on W10.
