julia-repl icon indicating copy to clipboard operation
julia-repl copied to clipboard

Create minor mode for julia-repl

Open non-Jedi opened this issue 7 years ago • 3 comments

If a buffer gets created by e.g. julia-repl-send-line, that buffer doesn't have the julia-repl-mode minor mode defined here. Is that an oversight, or am I misunderstanding how emacs minor modes should work (very possible; I'm still quite emacs noobish)?

non-Jedi avatar Jul 06 '18 02:07 non-Jedi

The julia-repl-mode is a minor mode for Julia source code files (.jl). julia-repl.el does not define a minor mode for the inferior buffer.

Would one be useful for you?

tpapp avatar Jul 06 '18 12:07 tpapp

Ah. I see. Yes it would be, but thanks to julia-repl-hooks I can at least work around it.

Spacemacs keybinding config system works per-mode rather than per-buffer.

EDIT: turning the julia-repl function into a minor mode doesn't look like it'd be all that difficult. I may take a shot at a PR for such if I get time in the next few weeks.

non-Jedi avatar Jul 06 '18 16:07 non-Jedi