emacs-php / psysh.el

PsySH on Emacs, PHP interactive shell (REPL)
https://www.emacswiki.org/emacs/ZonuExe
34 stars 6 forks source link

Feature request: Allow multiple sessions? #4

Open Fuco1 opened 7 years ago

Fuco1 commented 7 years ago

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?

zonuexe commented 7 years ago

@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.