hijack icon indicating copy to clipboard operation
hijack copied to clipboard

Hijack doesn't work with Emacs inferior ruby process?

Open bitops opened this issue 13 years ago • 2 comments

Hello!

I'm trying to use hijack as an inferior Ruby process in Emacs, but sending regions and definitions seems not to work. Code gets sent from my editing buffer to the repl, but the code doesn't actually seem to get eval'd.

Maybe an issue with how the hijack prompt is started?

bitops avatar Oct 09 '12 21:10 bitops

Does it work when not run from within Emacs?

ileitch avatar Oct 11 '12 00:10 ileitch

@ileitch yeah, it definitely works. It also works from within Emacs when I just type stuff straight into the shell. What doesn't work is sending code from another buffer to the hijack repl. The 'send-region' command does some kind of eval magic which I don't fully understand, so that may be why. It looks like the code gets sent and executed correctly, but then there's no output as I'd usually expect.

bitops avatar Oct 14 '12 01:10 bitops