# Emacs on Julia - can't copy to/from REPL

**URL:** <https://discourse.julialang.org/t/emacs-on-julia-cant-copy-to-from-repl/41430>\
**Category:** General Usage\
**Tags:** question\
**Created:** [June 15, 2020, 10:33am UTC](https://discourse.julialang.org/t/emacs-on-julia-cant-copy-to-from-repl/41430 "2020-06-15T10:33:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![compleat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/compleat/32/8958_2.png) [@compleat](https://discourse.julialang.org/u/compleat)\
**Post date:** [June 15, 2020, 10:33am UTC](https://discourse.julialang.org/t/emacs-on-julia-cant-copy-to-from-repl/41430/1 "2020-06-15T10:33:02Z")

</div>

I am not sure if this is just me not understanding or a bug.

On my Mac, I use julia-repl and julia-repl-mode and things like ‘ctrl-c’ work to send commands to the REPL but I can’t copy/paste to/from the REPL at all.

I have exactly the same issue on my Linux version.

Am I missing something?

Thanks for any help.

---

<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:** [June 15, 2020, 10:42am UTC](https://discourse.julialang.org/t/emacs-on-julia-cant-copy-to-from-repl/41430/2 "2020-06-15T10:42:46Z")

</div>

You have to switch term mode, see

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

There is a WIP backend using vterm, which should make this easier.

> <https://github.com/tpapp/julia-repl/pull/84>
>
> Factor out code interacting with the terminal using generic functions.
> 
> Add ba…ckend code for \[emacs-libvterm\](https://github.com/akermu/emacs-libvterm).
> 
> Disables byte compilation do get conditional code to work.

---

<div class="post-metadata">

**Author:** ![4aHxKzD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/4ahxkzd/32/10833_2.png) [@4aHxKzD](https://discourse.julialang.org/u/4aHxKzD)\
**Post date:** [June 15, 2020, 10:45am UTC](https://discourse.julialang.org/t/emacs-on-julia-cant-copy-to-from-repl/41430/3 "2020-06-15T10:45:16Z")

</div>

or, without switching modes, use `CTRL+INSERT` and `SHIFT+INSERT` like you would do in a regular terminal.

---

<div class="post-metadata">

**Author:** ![compleat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/compleat/32/8958_2.png) [@compleat](https://discourse.julialang.org/u/compleat)\
**Post date:** [June 15, 2020, 10:53am UTC](https://discourse.julialang.org/t/emacs-on-julia-cant-copy-to-from-repl/41430/4 "2020-06-15T10:53:13Z")

</div>

Thanks so much - I missed that one (tried for weeks to figure it out!).
