-
Notifications
You must be signed in to change notification settings - Fork 9
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
Tab completion should work #1
Comments
I have just discovered this issue, and here are a couple of ideas. You could take a look at You also have to integrate it with the comint buffer. I don't think I am competent enough to tackle the idea promptly, so I will leave this information to here. |
Right, there's two issues here:
My general inclination for part 1 is to send a tab character to the REPL process, capture its output and parse it. I think part 2 is something to do with |
Of course, this is a very old thing. I think I was using Spacemacs back then, I switched to Doom in the meantime, which has other issues so I tend to stay away from running IEx inside Emacs completely now ;-). |
Thanks for your work on Might be worth looking at this implementation for iex in shell-mode that was posted to Elixir slack's emacs channel. Maybe it's worth a discussion with @jasonmj. |
Thanks Walter! Happy to chat more about the approach I've taken here, Jonathan. It's still a bit of a work in progress, but the proof of concept shows viability. |
Hey folks, thanks for the tip! This approach seems similar to one that I attempted on the TL;DR: I'm thinking of new approaches for Elixir interaction writ large, but if anyone wants to send a PR I will give it a good-faith review 😁 The general constraints of the "send That said, such a project would be a large undertaking and this project will continue separately because it works and is good enough for many people's use cases. If you'd like to enhance this project, I'm happy to accept those contributions, but for the time being I'll be directing my efforts in another direction. |
Yep, the prompt counter increment is a thing... doesn't seem like a dealbreaker to me, but a specific side effect of this approach. Regarding an approach like cider, I'm all for it! I've used cider in the past and really enjoyed it. |
Currently there's a literal tab inserted. I have no clue how either the Emacs or the IEx side work - I'm gonna dig for a bit but will probably never finish so logging this so someone competent hopefully takes a shot :)
Thanks for creating this, it's pretty much exactly what I was looking for! I'm working on making Emacs super nice for Elixir by hooking up something like https://github.com/rustyio/sync and an automated test runner, and an inferior IEx is the starting point I was missing.
(Seems to be a common issue. fsharp/emacs-fsharp-mode#184 for example)
The text was updated successfully, but these errors were encountered: