Passing the prefix argument to eat forces creating a new session.
There was also a problem with reading the buffer-local value of julia-snail-repl-buffer that the vterm path avoids. I think it's because in that branch the current buffer is still the source when the vterm buffer is created. This isn't a problem with the port number because the launch command is formed similarly. It is possible to create an Eat process inside one's own buffer like you do for vterm (see the eat-exec call in eat--1) but that would involve copying probably the entire block at https://codeberg.org/akib/emacs-eat/src/commit/5aaad960c8f0caa2bc4c8b2f9da4dc0c809550fe/eat.el#L7057.
Closes #133
Passing the prefix argument to
eat
forces creating a new session.There was also a problem with reading the buffer-local value of
julia-snail-repl-buffer
that the vterm path avoids. I think it's because in that branch the current buffer is still the source when the vterm buffer is created. This isn't a problem with the port number because the launch command is formed similarly. It is possible to create an Eat process inside one's own buffer like you do for vterm (see theeat-exec
call ineat--1
) but that would involve copying probably the entire block at https://codeberg.org/akib/emacs-eat/src/commit/5aaad960c8f0caa2bc4c8b2f9da4dc0c809550fe/eat.el#L7057.Let me know if you'd prefer a different solution.