On Wed, Nov 02 2016, David van Leeuwen wrote:

> I'd be interested to know what the supposed workflow for
> $interpretor-in-$editor is.  (This may be more general than emacs
> julia-repl)
>
> I've tried Julia, R in Atom, Emacs, and I don't seem to be able to work
> with it.  In the Julia / R / bash / ipython / ... the up-arrow is my
> friend.  That is how I quickly find and repeat/edit/... a previous command.
>  It appears to me that the first thing that an interpretor-in-editor does
> is hijack the up-arrow, and make this move the cursor around in the buffer.
>  (I suppose I cannot really blame the editor, that is what it normally does
> with up-arrow and friends).
>
> So I figure there must be a different workflow than I am used to (edit
> file--switch to repl--include("file")--run function).  What is that
> workflow?

In general Emacs term has two modes, line and char mode. Char mode does
not capture the arrow keys. Line mode does, so you can move around the
buffer as usual. julia-repl starts in char mode by default, and you can
switch between the two modes -- see the README.

Basically, I wrote julia-repl because did not want Emacs to capture
parts of the input and output (like ESS does). Among other things, arrow
keys just work, even in the partial match mode (when you have typed
something and want to cycle through matches).

Happy to include new features, just ask here or open an issue.

Best,

Tamas

Reply via email to