3 ms·
Magit has a sub-package called Transient (also made by Jonas Bernoulli) which is what powers its UI. It's absolutely brilliant for making porcelains.
by mullikine 6y ago
Magit has a sub-package called Transient (also made by Jonas Bernoulli) which is what powers its UI. It's absolutely brilliant for making porcelains.
- nextos 6y agoYes, Magit's UI is fantastic. I also love Notmuch, which has a similar interface design and a really elegant architecture. Incidentally, Magit's developer is also a Notmuch contributor. Emacs ecosystem is getting really good. Org, Notmuch and Magit are fantastic for personal management.
- narwally 6y agoI'll have to take a look at that, I love magit's UI for its ease of discovery. Before magit I didn't know that 'git bisect' existed, nor how useful it was. I can think of a few other utilities that would really benefit from a similar interface. Certain use cases of org-mode come to mind. There's nearly always a way to do what I want in org, but sometimes it's a pain to figure out even simple use cases without going to the docs or a forum. It's just something that seems to go hand in hand with all really powerful tools. I may play around with writing a custom mode for my particular workflow of using org for literate programming. There are a bunch of commands I find useful, but don't use often enough to have committed to memory. I'd also love to be able to pull up a pop-up buffer, like magit's commit messages, whenever I want to edit a source block in more detail.
- d0mine 6y agoHydra can be used to create UI in emacs for hints/speed https://github.com/abo-abo/hydra https://github.com/abo-abo/hydra
- pmoriarty 6y agoWhile I absolutely adore Magit, I wonder why it doesn't just use hydra, a well established package to which Transient is very very similar.[1] Why don't these two brilliant programmers team up and make one package twice as good, instead of working on two separate packages and mostly duplicating effort? [1] - https://magit.vc/manual/transient/Comparison-With-Other-Packages.html https://magit.vc/manual/transient/Comparison-With-Other-Pack...
- deleted 6y ago[deleted]
- tarsius 6y agoInternally they are actually quite different. Hydra is much simpler, which has its benefits. Transient is much more flexible, which it has to pay for with complexity. There's value in having both options.
- iambvk 6y agoTransient is one of my favorite packages now. I replaced all my custom keybindings into transient under just one C-j keybinding. Now I have a meaningful popup window with my custom keybindings, so I don't have to remember the less-frequently used bindings. Also, transient has this one cool feature, where you can configure a timeout to delay the popup window, which is also nice.
- mullikine 6y agodocker.el also uses transient. I rate transient over hydra for the specific purpose of making porcelains. I think it's very well suited to the task. docker.el is magit for docker. It's just as life changing. I think docker needed this even more than git.