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

Move process management on top of sesman #914

Open
vspinu opened this issue May 10, 2019 · 6 comments
Open

Move process management on top of sesman #914

vspinu opened this issue May 10, 2019 · 6 comments

Comments

@vspinu
Copy link
Member

vspinu commented May 10, 2019

Sesman is a generic session manager designed specifically for ESS like use cases. It provides mainly:

  • contextual detection of the current session
  • user level utilities to associate/dissociate context with sessions
  • life cycle managment

There are 3 built-in contexts (buffers, directories and projects) but there are others. Two notable examples:

@jabranham
Copy link
Contributor

Can you give us some examples of advantages/disadvantages of using sesman over our current setup?

@vspinu
Copy link
Member Author

vspinu commented May 11, 2019

"contextual detection of the current session" is the biggest and the main reason for sesman to exists. You can run 20 sessions in 20 different projects and those will not mix up, with you as a user doing nothing to achieve that. Plus all the process management stuff will go away leading to a simpler code base.

There are no disadvantages AFAIC except that the C-c C-s key will have to be remapped to ess-session-map with things like sesman-link/unlink-session, browser and life-cycle management commands.

@jabranham
Copy link
Contributor

Neat! Is sesman going to be a part of Emacs (e.g. on GNU ELPA)? Since we're trying (and very close) to moving ESS there, it would be nice not to depend on packages outside that system.

@vspinu
Copy link
Member Author

vspinu commented May 11, 2019

Yes. I just want to have the two use cases (ESS and CIDER) working first, then will push to ELPA.

@lionel-
Copy link
Member

lionel- commented May 13, 2019

You can run 20 sessions in 20 different projects and those will not mix up,

This is huge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants
@vspinu @lionel- @jabranham and others