You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow an inf-elixir buffer to use [IEx's `open` command](https://hexdocs.pm/iex/IEx.Helpers.html#open/1), opening the term given in an Emacs buffer. This is currently done by setting the `ELIXIR_EDITOR` in the inf-elixir buffer, defaulting to `emacsclient --no-wait +__LINE__ __FILE__`.
### The Downside
The problem with this approach is, essentially, `emacsclient`. In order for this to work correctly, the user must have `emacsclient` in their `$PATH`. Also, the fact that this functionality relies on an external program makes it rather hard to test. I really wanted a solution that used something like `find-file` under-the-hood, but I can't seem to find any way to do that.
0 commit comments