Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Emacs is good at integrating with Git too. So good that there are four or five different Emacs-Git libraries, each with a different interface and feature set. I gave up eventually and went back to using the command line.

This is superficially true but fundamentally incorrect. There is one Git mode that everyone uses: Magit. Magit is incredible; it is one of a couple Emacs integrations that make the tool it integrates with better, in a significant and meaningful way.

I'm not a "use Emacs as my shell", "read my email in Emacs" kind of person. And I am nowhere nearly as effective in Git on the commandline as I am with Magit.

Use Magit.



To be specific, magit enables a couple of incredibly useful workflows, like the "what changes have I made that are outstanding? review them, jump to the file in question to gain additional context if confused, stage individual changes and THEN commit" workflow (a compelling way to review your work for bits you'd forget with commit -a and far more convenient than git add -p), the "darnit, I just lost my place in the code again -- I know, I'll find it in the diff and jump to the line" workflow, and a number of other interactive repository history-viewing workflows.

The functionality provided by magit and a couple clever hotkeys to find code and run tests have proven in my own experience to be excellent foundations for developer productivity in any medium-to-large sized codebase.


I couldn't live without magit. It has really improved the way I work.


There is one Git mode that everyone uses

This is actually a bit of a problem. Even with many things available out there, some things are more useable than others, and it takes quite a bit of digging to figure out which packages you want to install.

I think people who write up their experiences in emacs and give suggestions about which packages are genuinely useful, and which alternatives aren't, are being really helpful.


Actually magit is the second most downloaded package from MELPA. It's kinda hard to miss it.


Actually magit is the second most downloaded package from MELPA.

Thanks. I didn't know MELPA had download counts, now I do. But there is nothing in `list-packages' that hints at this, really, it's just a list of packages.

It's kinda hard to miss it.

The person who wrote the article managed this easily enough. Emacs packages also interact with each other (e.g., completion minor modes and language major modes, things like flycheck). I still think there's a fair amount of uncertainty about what packages one should install, and that projects like https://github.com/bbatsov/prelude are really helpful in this regard.


> The person who wrote the article managed this easily enough.

Since it's a single data point I think it really says more about the author of the article than about Emacs...




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: