-
Notifications
You must be signed in to change notification settings - Fork 9
No REPL running in #7
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
Comments
Hi @angrycandy! Thanks for opening this issue. This issue occurs when trying to send Elixir code to a REPL that exists outside of any Mix project. This is a thing that Either:
I'd welcome your thoughts on this! |
Thanks for the quick response @J3RN. My preference is a "hybrid where the user sets the recipient REPL once per buffer with the ability to change it manually". |
Hey, a good place to look for some inspiration may be https://github.com/greghendershott/racket-mode. Also, FWIW, I find racket-mode to be a nice featureful and simple example of an interactive mode for emacs. Less powerful than say SLIME, Cider, or Alchemist, but obviously less complex. |
@ZachFontenot Thanks for the tip! ✨
Yeah, this is how I was thinking of doing it as well, but (IIRC) it implies a considerable rewrite of existing functionality. Sadly this has fallen on the back burner for me, no guarantee as to when I'll be able to get to it 😓 |
After a little over a year, I've pushed a "fix" for this that I've been using locally for a month or so. I'm pretty happy with it, and I hope others are as well. The big highlight is that the choosing logic is a bit more thorough and considers more cases. I published a wiki page that illustrates the buffer-choosing process. The other good thing to know is that I added an I'm closing this issue as the originally reported issue should be resolved (once the update rolls out on MELPA). If anyone has an issue with REPL-choosing logic going forward, please open a new issue 😃 |
Uh oh!
There was an error while loading. Please reload this page.
With this configured:
I run
inf-elixir
, see the iex buffer start, and theninf-elixir-send-line
causes error messageNo REPL running in
.And I'm just starting to learn elixir with https://elixir-lang.org/getting-started/introduction.html so the directory has just one file, scratch.ex, for the tutorial code.
I'm using:
The text was updated successfully, but these errors were encountered: