# Is anyone using Emacs on Windows 10?

**URL:** <https://discourse.julialang.org/t/is-anyone-using-emacs-on-windows-10/6617>\
**Category:** General Usage\
**Created:** [October 22, 2017, 10:58pm UTC](https://discourse.julialang.org/t/is-anyone-using-emacs-on-windows-10/6617 "2017-10-22T22:58:13Z")\
**Posts on this page:** 6\
**Page:** 1

<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:** [October 22, 2017, 10:58pm UTC](https://discourse.julialang.org/t/is-anyone-using-emacs-on-windows-10/6617/1 "2017-10-22T22:58:13Z")

</div>

If so, would you have some advice on which Emacs to choose and how to set up the environment?

---

<div class="post-metadata">

**Author:** ![Stephen\_Vavasis](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stephen_vavasis/32/3389_2.png) [@Stephen\_Vavasis](https://discourse.julialang.org/u/Stephen_Vavasis)\
**Post date:** [October 23, 2017, 2:21am UTC](https://discourse.julialang.org/t/is-anyone-using-emacs-on-windows-10/6617/2 "2017-10-23T02:21:33Z")

</div>

I use emacs on Windows 10 with Julia mode. It works pretty well; the only annoyance is that the auto-indent feature loses track of the indent level in long functions (a long-standing known issue in Julia-mode). On my laptop I use emacs 24.3.1; on my desktop I have a newer version, and both work.

---

<div class="post-metadata">

**Author:** ![Ralph\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ralph_smith/32/10344_2.png) [@Ralph\_Smith](https://discourse.julialang.org/u/Ralph_Smith)\
**Post date:** [October 23, 2017, 3:10am UTC](https://discourse.julialang.org/t/is-anyone-using-emacs-on-windows-10/6617/3 "2017-10-23T03:10:20Z")

</div>

Have you tried this:

- menu:Options
- customize-emacs
- Programming
  - languages
    - Julia
      - Julia Max Block Lookback

20000 is usually good for me (and I write some distressingly long functions).

Now if I could only configure the Discourse composer to use emacs shortcuts … Are there really that many people so desperate to waste paper that they need to hijack ctrl-P?

---

<div class="post-metadata">

**Author:** ![Stephen\_Vavasis](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stephen_vavasis/32/3389_2.png) [@Stephen\_Vavasis](https://discourse.julialang.org/u/Stephen_Vavasis)\
**Post date:** [October 23, 2017, 3:48am UTC](https://discourse.julialang.org/t/is-anyone-using-emacs-on-windows-10/6617/4 "2017-10-23T03:48:53Z")

</div>

OK, yes, this fixed the problem in the MWE that I saved (122-line function). Thanks for the suggestion!

I’m a bit confused though-- this is an 19-month-old issue for Julia emacs mode, and it is still open:

[https://github.com/JuliaEditorSupport/julia-emacs/issues/5](https://github.com/JuliaEditorSupport/julia-emacs/issues/5)

Would the problem be fixed for almost everyone if the default was just changed from 5000 to 20000, and then someone should close the issue?

---

<div class="post-metadata">

**Author:** ![ericsfraga](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ericsfraga/32/192_2.png) [@ericsfraga](https://discourse.julialang.org/u/ericsfraga)\
**Post date:** [November 21, 2017, 10:18am UTC](https://discourse.julialang.org/t/is-anyone-using-emacs-on-windows-10/6617/5 "2017-11-21T10:18:04Z")

</div>

Thanks for this! I was having this problem with Julia mode (on Linux).

For us old skool emacs users:

(setq julia-max-block-lookback 20000)

---

<div class="post-metadata">

**Author:** ![asampal](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/asampal/32/253_2.png) [@asampal](https://discourse.julialang.org/u/asampal)\
**Post date:** [November 21, 2017, 4:17pm UTC](https://discourse.julialang.org/t/is-anyone-using-emacs-on-windows-10/6617/6 "2017-11-21T16:17:41Z")

</div>

I use this Emacs with Windows 10, [emacs-w64 download | SourceForge.net](https://sourceforge.net/projects/emacsbinw64), though I don’t use it for Julia so I can’t comment on setting things up there.
