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

Split proton into smaller standalone packages #20

Closed
dvcrn opened this issue Dec 8, 2015 · 4 comments
Closed

Split proton into smaller standalone packages #20

dvcrn opened this issue Dec 8, 2015 · 4 comments

Comments

@dvcrn
Copy link
Owner

dvcrn commented Dec 8, 2015

This was an idea from a discussion on discuss.atom.io.

Proton has a few things that could stand on it's own for people that don't want to use everything at the same time.

  • dotfile loader: This would probably the easiest part, a package that just loads a specific file (maybe ~/.atom by default), loads it and puts it into the atom object. (edn? cson? json?)
  • dotfile mode: Leverages above plugin but sets / removes config keys. The wipe and install mechanism that proton currently uses, just as a standalone thing.
  • chain mode: The proton prefix tree. User can specify keybindings and summon the chain overlay (what proton does when you hit space). When hitting a leaf, execute the editor action.

Proton itself is then requiring these packages, adds its layer system on top and glues everything together.

@sglyon
Copy link
Contributor

sglyon commented Dec 8, 2015

To me this seems like extra work, both to do the splitting and to maintain 3 or 4 packages in lockstep.

Do you anticipate other packages using the components? If so, it might be worthwhile. If not, I would personally keep them as they are.

@smldis
Copy link

smldis commented Sep 5, 2017

Hi @dvcrn, 2 years later could this be reevaluated?

Or alternatively is it possible to disable proton package management?

@dvcrn
Copy link
Owner Author

dvcrn commented Sep 6, 2017

@smldis What do you want to accomplish? Just the configuration system or the which-key overlay?

@smldis
Copy link

smldis commented Sep 8, 2017

The which key overlay with spacemacs like keybindings is the main feature I use, but in general splitting the package management from the other functionality would be awesome.
Also installed package management and package configuration could be (in theory) be decoupled right?

The proton style of package management is affected by the ever standing problem of distributions, for reference: (https://www.bassi.io/articles/2017/08/10/dev-v-ops/)
Note tha I do not think it is bad (I really like distributions and the community around them). But I think splitting orthogonal functionality can be a big win

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

3 participants