frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Two Years of Emacs Solo: 35 Modules, Zero External Packages, and a Full Refactor

https://www.rahuljuliato.com/posts/emacs-solo-two-years
70•celadevra_•1h ago

Comments

wilkystyle•48m ago
> That means the code is sketchy sometimes, sure, but it's in my control. I wrote it, I understand it, and when it breaks, I know exactly where to look.

This resonates with me so hard. I'm not a "no external packages" purist, but there are a number of pieces of functionality that I wrote for myself because there wasn't anything quite like what I wanted.

One example is a function to expand the region (selection) to any arbitrary set of pairing delimiters that I define in a defvar (parens, quotes, brackets, or I can can supply a custom left/right regex for matching). Then, when I execute the function, it waits for a second keypress, which is the trigger key I've defined for that matching pair, and it will expand the region to the left and the right until it meets the applicable delimiter.

Repeating the same key presses results in selecting the left and right delimiters themselves, and another repeat will extend to the next set of matching delimiters, and so on.

Even though I use a treesitter-based expand-region plug-in, my custom function is still invaluable for when I want to jump past a series of valid treesitter object expansions, or when certain text objects are just not defined in treesitter.

Some of the helpful custom expansions I have defined are:

"w" to select what Vim considers a lowercase-w word

Space to select what Vim considers an uppercase-W word

"$" to select ${...}-style expressions

"/" to select everything between forward slashes

"*" to select between asterisks (useful when editing markdown)

It's really an invaluable function for me, personally, but I always talk myself out of trying to open-source it because it has some gotchas and limitations, and I just don't want to be on the hook for trying to make everyone who uses it happy.

throwaway27448•7m ago
> "w" to select what Vim considers a lowercase-w word

?!? Wtf does this mean and how did vi come up

keithnz•2m ago
vim has two "word" motions, w and W, the lowercase w motion will see punctuation as a word boundary (as well as whitespace ) W only considers whitespace
yunnpp•34m ago
Is Eglot on par with emacs-lsp for C++? Specifically thinking about pointing it to a compile_commands.json and all of the usual C++ nonsense required for code navigation and autocomplete.
Ferret7446•4m ago
The UX will be different and is a matter of preference. The performance depends solely on your LSP. So long as your LSP is the same and configured the same, it will give you the same results for navigation/completion.
hirvi74•27m ago
This might be a paragon of masochism. Though, I am not only beyond impressed. I am beyond jealous as well.

I've been using Emacs since one of professors/mentors converted me over a decade ago back when I was attending university. As the years have progressed, I have found myself reaching for Emacs less and less. I still maintain my config and use it fairly often. I cannot use Emacs at my employer either, so that doesn't help.

However, I have always wanted to do what the author has demonstrated. I would love to be liberated from the all package dependencies I currently have. I just do not have the time nor self-discipline to do something like this. Even if the functionality would be less than or equal parity with 3rd-party packages, I would prefer the Devil I know over the ones I don't.

fedreg•15m ago
super impressive!! Going to steal some of this lisp for sure
throwaway27448•9m ago
Why are we so bad at naming things? Modules and packages are so abstract I need to google what they mean relative to the development environment just to move forward.

SheepDipped

1•sheepdipped•2m ago•0 comments

Anthropic launches Code Review

https://code.claude.com/docs/en/code-review
1•rishabhaiover•2m ago•1 comments

The Arts Bookstore of the Internet

https://mzs.press/
1•mooreds•3m ago•0 comments

Breaking free from smartphone addiction: Defensive tactics against algorithms

https://english.elpais.com/technology/2026-03-07/breaking-free-from-smartphone-addiction-defensiv...
1•1vuio0pswjnm7•3m ago•0 comments

Lovable, Monetization, and the Vibe Coder Economy

https://jxnl.co/writing/2025/06/12/lovable-monetization-and-the-vibe-coder-economy/
1•AnhTho_FR•6m ago•0 comments

Trial against Meta in New Mexico highlights video depositions by top executives

https://apnews.com/article/meta-instagram-new-mexico-zuckerberg-mosseri-social-e5a6749f4628cff9ff...
1•1vuio0pswjnm7•9m ago•0 comments

Lunches.fyi: Scraping corporate cafeteria menus and ranking the food

https://walzr.com/lunches-fyi/
2•meetpateltech•13m ago•0 comments

Human Brain Cells Run New Data Centers in Singapore, Melbourne

https://www.bloomberg.com/news/articles/2026-03-09/human-brain-cells-run-new-data-centers-in-sing...
1•inaros•13m ago•0 comments

Mockdown

https://www.mockdown.design
1•handfuloflight•13m ago•0 comments

Sony is testing dynamic pricing in the PlayStation Store

https://psprices.com/news/sony-ab-testing-prices/
1•xoxxala•14m ago•0 comments

Amazon tells FCC to bin SpaceX's million-satellite datacenter dream

https://www.theregister.com/2026/03/09/amazon_petitions_to_block_spacexs/
1•johnbarron•19m ago•0 comments

Lazy iteration vs. array chaining on 500k rows – benchmark results

1•gvsh_maths•22m ago•1 comments

I built a tool to export Gemini chat to PDF, Word, Docs, and Notion

2•backrun•22m ago•0 comments

Baochip-1x: What It Is, Why I'm Doing It Now, and How It Came About

https://www.crowdsupply.com/baochip/dabao/updates/what-it-is-why-im-doing-it-now-and-how-it-came-...
1•brewcrew•22m ago•0 comments

Sen Sheldon Whitehouse: Connections Between Trump, Russia, and Epstein

https://www.youtube.com/watch?v=ylvTFvJvB84
2•johnbarron•23m ago•0 comments

I just launched my first Roblox game "Drone Wars"

https://www.roblox.com/games/136100514232797/Drone-Wars
1•mmmmkay•25m ago•1 comments

Scotland becomes first UK country to legalise water cremations

https://www.theguardian.com/society/2026/mar/02/scotland-becomes-first-uk-country-to-legalise-wat...
3•gscott•28m ago•0 comments

Loom vs. Linear: A tale of two AI-cities

https://jamespember.substack.com/p/loom-vs-linear-a-tale-of-two-ai-cities
1•jep888•30m ago•0 comments

Reese's changed its chocolate because of climate change

https://www.fooddive.com/news/hershey-reeses-ingredients-chocolate-climate-change-oped/813903/
1•del82•30m ago•2 comments

Financial group probed by congressional committee over Chinese stock scams

https://www.ft.com/content/49f541f8-c73d-4268-9621-f8604f1a8141
2•petethomas•30m ago•0 comments

Boredom Is the Price We Pay for Meaning

https://www.theatlantic.com/ideas/2026/02/boredom-parenthood-father/686158/
3•myth_drannon•31m ago•0 comments

Something feels weird about this economy

https://www.noahpinion.blog/p/something-feels-weird-about-this
1•paulpauper•32m ago•0 comments

Phonyhuman

https://github.com/manav03panchal/phonyhuman
1•manavpanchal•33m ago•0 comments

Ask HN: What game engine would you recommend for vibe coding?

3•general_reveal•34m ago•2 comments

American Prairie Grows Again with 2k+ Acres of Critical Wetland Habitat

https://americanprairie.org/the-latest/american-prairie-grow-again-with-2k-acres-of-critical-wetl...
2•gametorch•36m ago•0 comments

Emergent Quantization from a Dynamic Vacuum

https://journals.aps.org/prresearch/abstract/10.1103/l8y7-r3rm
1•Rover222•47m ago•2 comments

High-throughput phenomics of global ant biodiversity

https://www.nature.com/articles/s41592-026-03005-0
1•bookofjoe•48m ago•0 comments

The Deadliest Animals

https://ourworldindata.org/deadliest-animals
1•gmays•48m ago•0 comments

Fast and Powerful Code Editor

https://lap.dev/lapce/
3•arthurz•50m ago•1 comments

The greatest unsolved problem in computer science

https://www.youtube.com/watch?v=x36UmiSiEzc
1•ArturoNereu•53m ago•0 comments