emacs-php/psysh.el

Feature request: Allow multiple sessions?

Opened this issue · 1 comments

Fuco1 commented

It would be nice if I could invoke M-x psysh and it would allow me to start it multiple times, one for each "project". Right now it pops to the existing shell.

I'm not sure how to decide what "project" the given shell is connected to. Maybe we don't need that and if I call psysh with a prefix argument it will just start a new one. Invoking psysh then should pop the last one or create new one if no session exists.

What do you think?

@Fuco1
Thanks for the suggestion. I have been traveling for phpconfuk this past few days.

Maybe we don't need that and if I call psysh with a prefix argument it will just start a new one. Invoking psysh then should pop the last one or create new one if no session exists.

I also think that the interface to create a new process is C-u M-x psysh is good.