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

Simpler multiple REPLs #152

Open
ksixty opened this issue Apr 15, 2024 · 3 comments
Open

Simpler multiple REPLs #152

ksixty opened this issue Apr 15, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@ksixty
Copy link

ksixty commented Apr 15, 2024

It would be nice to be able to open a second REPL by doing something like C-u M-x julia-snail.

Per-project setup is not so good when you need to test a thing or two quickly in a disposable session.

@gcv gcv added the enhancement New feature or request label Apr 15, 2024
@gcv
Copy link
Owner

gcv commented Apr 28, 2024

Patches welcome. :)

@MasonProtter
Copy link
Contributor

MasonProtter commented Aug 18, 2024

In addition, having to come up with a unique port and unique buffer name is especially painful. Not sure what the regular way is to get C-u M-x julia-snail working, but I guess we just need it to automatically generate a buffer name, and a unique port number?

Are there any considerations for what constitutes a valid port entry here, and are there port ranges we'd need to try and avoid because they're used by other processes? (e.g. like with SSH it's hard to a-priori generate a free port number)

@gcv
Copy link
Owner

gcv commented Sep 13, 2024

We can probably auto-guess a reasonable buffer name based on the containing project name (seems doable using project.el, but I didn’t verify). I don’t know about ports, but I haven’t run into much trouble using 10011, so Snail can potentially track which ports it has already used in the 10011-10100 range and allocate from there.

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

No branches or pull requests

3 participants