Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hijack doesn't work with Emacs inferior ruby process? #15

Open
bitops opened this issue Oct 9, 2012 · 2 comments
Open

Hijack doesn't work with Emacs inferior ruby process? #15

bitops opened this issue Oct 9, 2012 · 2 comments

Comments

@bitops
Copy link

bitops commented Oct 9, 2012

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?

@ileitch
Copy link
Owner

ileitch commented Oct 11, 2012

Does it work when not run from within Emacs?

@bitops
Copy link
Author

bitops commented Oct 14, 2012

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants