straight.el
straight.el copied to clipboard
A menu (UI) for straight.el?
First and foremost, wonderful project and appreciate all the effort being put into maitaining / upgrading it!
Had an idea, coming from neovim, which could benefit straight.el to some extent:
- Add a menu for managing straight.el packages, where the user is able to: a. Select a package and perform certain actions on it, b. Upgrade packages c. Sync packages (upgrade and rebuild perhaps?) d. Uninstall packages, e. Debug, profile and whatnot f. Clean (remove) old packages?
This idea is similar to what Lazy is currently offering as a neovim package manager.
Lazy UI:
There is a hydra for straight.el https://github.com/abo-abo/hydra/wiki/straight.el
But if i've understood how hydra works (simple knowledge), then that won't show the packages being installed or having an action performed on them. Isn't that correct?
Yes - the hydra I showd won't do that. The packages being installed are shown as current straight.el in the echo area. The example hydra works by choosing the action and then you select the package - so the opposite way round to what you want.
As I had thought. Lazy.nvim does show the package being installed + displays changelog of installed package (compare between current installed version vs latest released version).
That imo would've been more helpful than the just a hydra menu.
See M-x straight-x-fetch-all which implements a graphical view for package installation only, and elpaca which chooses different abstractions from straight.el and therefore makes it easier to construct a graphical interface.
Interesting! Perhaps I ought to take a look at Elpaca and see if it's better fit for my needs.
Appreciate the mention! :)