News for hackers. Stuff that matters.
Re:Magit – A Git Porcelain inside Emacs by mullikine on Friday September 11, 2020 @06:20AM (#24441070)
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.
Re:Magit – A Git Porcelain inside Emacs by narwally on Friday September 11, 2020 @10:57AM (#24443502)
I'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.

Re:Magit – A Git Porcelain inside Emacs by d0mine on Friday September 11, 2020 @03:58PM (#24446713)
Hydra can be used to create UI in emacs for hints/speed https://github.com/abo-abo/hydra
Re:Magit – A Git Porcelain inside Emacs by pmoriarty on Friday September 11, 2020 @11:02AM (#24443564)
While 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-Pack...

Re:Magit – A Git Porcelain inside Emacs by tarsius on Saturday September 19, 2020 @11:39AM (#24528162)
Internally 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.
Re:Magit – A Git Porcelain inside Emacs by nextos on Friday September 11, 2020 @10:38AM (#24443301)
Yes, 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.

Re:Magit – A Git Porcelain inside Emacs by iambvk on Friday September 11, 2020 @09:09PM (#24448979)
Transient 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.

Re:Magit – A Git Porcelain inside Emacs by mullikine on Friday September 11, 2020 @11:11PM (#24449497)
docker.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.