3,103 karma · joined Feb 14, 2015 (11y ago) · 2,281 submissions
[ my public key: https://keybase.io/agzam; my proof: https://keybase.io/agzam/sigs/La7qFk8YkbwfkgeSx7vkBWBba2f3HIpZyNVxUHvshbU ]
comment 6d ago · link · parent
comment 6d ago · link · parent
It just fucking is when you're throw it as a blanket rule. Sandboxing makes sense when it has a target: this process parses hostile input, it holds no secrets, and it doesn't need your home directory. A browser renderer fits that. A PDF viewer for email attachments fits. A main editor whose whole job is touching your files and credentials doesn't fit.
"Don't browse untrusted sites in the Emacs that holds your secrets", okay that's reasonable (something you didn't even say), but your "sandbox everything, bugs exist", is the part that wastes people's time.
> I'm sorry that's your view. Good luck
WTF is this even, seriously? Stop wasting people's time with this nonsense. This isn't a kindergarten where we share some scary, imaginary stories.
comment 6d ago · link · parent
comment 1w ago · link · parent
comment 1w ago · link · parent
comment 1w ago · link · parent
I once wanted to find all the URLs posted within the HN thread. It's easy, but then you also have to filter the HN's own urls. In Emacs is a one liner that gives you a picker with the way to copy any url, preview it, open it in the browser or in Emacs. The list is plain text, you can stick the whole thing into your notes, share it, etc. I then bound the command to a key. Now I can do it with a keypress. Turns out it works also for Reddit as well. Without Emacs I'd probably will have to write a specialized script that would be wonky, error-prone and obsoleted in weeks.
comment 1w ago · link · parent
Hahaha... So you think thousands of people using it are stuck in it because they hate themselves and I just love inconvenience and inefficiency? What odd masochists they are, these weirdos with zero skill of bashscripting. Total losers.
The autocomplete I have in Emacs is, btw., simply amazing; it's the best I've ever had, it's non-intrusive, and actually enormously helpful in practice. The completion previews sometimes feel like some blackmagicfuckery. I seriously doubt you even remotely have any idea of what you're talking about.
comment 1w ago · link · parent
You will never see the appeal until you give it a heartfelt try yourself; there's too much tacit knowledge that is not easily describable in a few short paragraphs.
You're making it sound as if all the things you're talking about are unknown to me. I wasn't born into Emacs, and I didn't find it in my college years and just decided never to leave. I've been staring at computer screens for decades and have been using Emacs for only a fraction of that time. The only difference between you and me is that I have now seen both sides, I'm intimately familiar with your worldview, and I know the reasons why that side sucks. I'm not saying the Emacs-side is perfect and that there are zero tradeoffs to consider, no.
Lisp and Lisp-based systems have been an impossible sell for a long time, and mostly for emotional rather than practical reasons. "Emacs user" sounds like a lifestyle, and some people outright avoid it just so they don't have to join the tribe.
Those who genuinely try to evaluate the practical side out of curiosity pick some random features or one demo and typically remain unconvinced. I have never heard anyone say "I watched this video/read an article and I decided to try Emacs", because the value of Emacs does not live in any single feature. It lives in how the features compose, and composition is invisible in a demo.
Even using Emacs for a few weeks may not help; the value builds up over time. Each piece on its own looks, sounds and feels unimpressive. Nobody is ever persuaded by a sum they have to imagine. There's no frame that I can use for you to even listen to me; you don't have one. It's very much aligned with Graham's Blub paradox - from inside a less flexible tool, a more flexible one looks like the same thing with weird extras. You only see the difference by looking back from the more flexible side. Most people have never experienced an environment they could change while it runs, so they have nothing to compare it to. My enthusiasm reads to you as sunk-cost bias, even though it clearly isn't. I would happily switch away from Emacs whenever a clearly better alternative comes around. Alas, it just doesn't exist.
> in fact having to configure them myself
Yesterday, I would've said: "Oh sweet summer child, do you really believe you don't configure the 'commonly used software'? You're configuring your own brain and habits to match that software instead..."
But today, that's not even an argument. You can just install Emacs and ask a good model to build you a solution to a problem and then observe and evaluate the workflow differences, easily. Then it opens up a whole world of possibilities where the only limit is your imagination.
"Right-click -> search effectively" is one thing, but when you have a system where you can bind it to a key, to something more complex than a simple right-click, to a foot pedal, to a gesture, to a voice command, to a "Fus Ro Dah" Skyrim call - you just laugh at your own younger, naive self for being so dismissive without even knowing what the hell you were talking about back then.
You're mistakenly thinking I'm offering a replacement for all the tools you already know and use.
> to use a basic browser feature
You didn't even check what it does. It is in fact piggy-backing on the browser feature, it's not replacing it, it is rather enhancing it ten-fold. Emacs doesn't have to replace existing things in your toolbelt. It can act like a glue, like an orchestrator.
comment 1w ago · link · parent
No, they can't. People like to play this kind of fear-mongering and "cybersecurity theater" without even questioning first the cybersec posture, network perimeter - vpn, firewall, malware protections, etc. Everything the article describes is perfectly possible even without Emacs. OSA layer on Mac been doing even weirder things for odd thirty years.
It's not like people giving Emacs root shell access. It's culturally fitting for HN - signaling caution is always socially safe. Nobody ever got criticized for saying "that sounds risky". But "I evaluated the risks and accepted the tradeoffs for my situation" is the actual, pragmatic engineering. Security is risk management, not risk elimination.
comment 1w ago · link · parent
It's just a drop in a vast ocean of things. Your close-minded thinking just sees one thing and makes generalized assumptions.
> where people want to spend time
You're reading it completely backwards. This is the thing that I never understood about the majority of programmers. For whatever reason they just readily accept the status quo. Here's a typical example:
So often do I feel like rolling my eyes whenever I pair with my colleagues - I'd do something trivial, like fetching a list of PRs related to a specific ticket number at the cursor. They'd be like "whoa, that's cool", and then never do anything about it - they stick to their "learned helplessness" paradigm - copy the ticket number, switch to browser, navigate to Jira, pass through SSO, look around for the phone just to push the button, paste the ticket number, find the linked PRs, etc. The other teammate watching all that may say something like: "you could do it faster directly on GitHub"... And here I am - pressing a key, voila - the list. Why the heck don't they do anything about it, I just don't get it. Trained engineers, they spend years dealing with cranky software, why in the world are they unwilling to do anything about these seemingly small yet everyday annoyances? Why do so many programmers treat software as if it's magic? And I think I know the answer: because the software you use shapes your affordances. If there's no downloadable get-me-list-of-prs-for-a-jira-ticket VSCode extension and no simple way to build it, it would never occur to them to even get annoyed. In Emacs, I can write a picker in a scratch buffer by hand and it would take me minutes. Today with LLMs, I can just spend fifteen seconds, not even typing, speaking my thoughts and it goes to build it, run a sequence of e2e tests and hand it to me on the spot.
Sure, go ahead, talk about time. Make me chuckle. The irony is that the time you spend using a Lisp-based system never feels wasted; it only gets better, it has a compounding effect. It's the time you waste convincing skeptics that it is in fact enormously pragmatic and time-saving that feels like tilting at windmills. Why am I even still talking to you here, if it was clear from the beginning that you didn't in fact have good-will curiosity, only simply wanted to find evidence for your already settled and stiffened mind.
You think people choose and stay with Emacs, because their parents baptize them into it? It's a hands-down the best known system to deal with text of any kind. It is not a text-editor, text-processor, IDE or coding tool. It's an effing text orchestrator. It is capable of handling multitude kinds of text-related tasks in anything in its computational vicinity - local and remote computers, apps, and services. And programming is all about text. That is the essence that every computer user has to conquer first and foremost; everything else is secondary.
comment 1w ago · link · parent
Not true in practice. It is absolutely useful in real, battle-tested scenarios. If this were a deal-breaking problem, we'd keep seeing it discussed and eventually fixed. Like the issue with long lines, which was a problem in Emacs for decades and is now mitigated. Nobody complains about it anymore.
Lem is very cool, yet too young to be pragmatically compared with the 40-year package ecosystem of Emacs. Let's be honest, with all the "better" stuff, we're not witnessing herds of Lispers switching to it. Another decade may pass before we see it make more than a blip on the radar. Aside from a number of devoted Common Lispers, there's not much usage of it in the real world.
Meanwhile, Emacs is seeing another uptick. First it was Spacemacs, then Doom, now LLMs are making it very appealing, and we see HN submissions every other week. Don't get me wrong, I'm betting on both of these horses, even on Neomacs, and whichever wins, I'd be happy to see it. Emacs for now remains the uncontested king of Lisp-based text editors.
comment 1w ago · link · parent
There is some tacit knowledge in here that is nearly impossible to convey in words. Your "rarely do" is the thought that subconsciously ignores the principle of least effort; there's an affordability gap, e.g., I am more likely to use a thesaurus simply because I have it built into my text editor, versus someone who has to reach for it in the browser/separate app.
> building a process around it would be inefficient for me
That's what you're missing. Emacs makes it incredibly cheap. It's a Lisp REPL. When you understand what it means in practice, it opens up incredible opportunities for exploratory computing. You're not "building processes around", you're essentially living in one mega-process, a simulation, a digital universe where you are a god, commanding change at will. Right now, as I'm typing this very comment, I noticed a tiny gap in the way how I'm using LLMs, so I'm changing this stuff on the fly, with the agent running things in the adjacent buffer while I'm finishing this comment. The crazy thing is that it doesn't have to compile, restart, ask me to pause typing, etc. It's applying changes to my editor live. By the time I finish typing the comment, it will probably have already built this feature, tested it out, and it will be ready for me to use, instantly.
comment 1w ago · link · parent
The difference is the text consumption. Can you easily retrieve any text you're seeing on the screen into your editor?
Inserting any piece of text I see on the screen into my notes? A couple of keystrokes. I can grab text in any form, even if it's a frame in a YT video - I'd just select the area, snapshot it - Emacs OCRs the text out of it, which takes milliseconds. I fully control the playback of said video directly from my editor - rewind, pause, mute, speed up, extract transcript, etc. It is enormously liberating and empowering.
I have complete and utter control over text - I can send a query to an LLM in the middle of typing this very comment, without ever missing a beat. I can ask for anything - fact-check it, spell check it, reword it, explain it, give me different variations of the same sentence. I can replace part of it with diffing in-place. I can even start changing the behavior of Emacs itself, right there on the spot.
I can directly grab any part of the log of a process running in the terminal. Grep through it, semantically search through it with an LLM, whatever. Similarly, I can directly grab a piece of any text in Emacs and send it over to another app, e.g., as a command to run in the terminal.
> Everything You describe is possible without emacs
Everything is possible with Turing-complete languages, but Turing-completeness is a trap. It's all about affordability. What Emacs grants as a Lisp-REPL loop with a built-in text editor is lowering that affordability bar to the lowest imaginable minimum.
Have you ever thought: "What if I could change the 'Open File' dialog in Sublime so I can browse GitHub repos directly instead of folders and files?" This kind of thinking has probably never occurred to you - for an Emacs user, that is some prosaic, just-another-Wednesday kind of thought.¹
---
¹ https://www.youtube.com/watch?v=BDn8ak-8yIs
By the way fishing that url out of my browser history took a keystroke - of course Emacs can search through my browser history too - https://github.com/agzam/browser-hist.el
comment 1w ago · link · parent
comment 1w ago · link · parent
The age of LLMs is forcing me to review bigger bodies of text, and more often. Various features of Emacs, like indirect buffers, narrowing, ibuffer, a multitude of search options, etc., make it an unbeatable choice. Plain-text composition is also at its peak, and Emacs, again, is just beyond anything else with completion-preview, thesauri, etymology and definition lookup, dictionary and translation, and fantastic agentic integration - I can query a model in the middle of typing this very comment, for various tasks - I can either just ask it to look up something, or feed the selected text to correct mistakes (with various diffing options to compare the result), fact-check things, ask it to TLDR or explain something, or even change any aspect of Emacs itself, right there, without missing a beat, without ever restarting anything. The flexibility totally is at complete and utter bananas level.
LLMs are all about text. Emacs is still the uncontested king in this space. Who knew that the 50-year-old turtle, after all, would take a major lead, surpassing even the fastest rabbits? I'm so glad I spent a decade falling in love with the idea of a Lisp-based editor and ignored all the cries about Lisp's imminent demise - I'm witnessing its renaissance; it's happening right in front of my eyes.
comment 1w ago · link · parent
It's a highly experimental thing someone decided to mess around with, without any prior design discussion with any Emacs core devs. It's like a forty-minute-old baby and you're asking it to parallel park without crashing. What's your point here, I don't get it?
GNU/Emacs is incredibly stable. It's one of the most reliable pieces I've ever had; I sometimes run it for months without ever restarting. Which I can't say about pretty much any app on my system. Including the system itself.
comment 1w ago · link · parent
comment 1w ago · link · parent
I wish I had found Lisp many years sooner. That simplified Haskell, Rust and Idris for me. The downside is that it turned out to be vastly pragmatic, and for personal stuff I'm on Lisp. Even though most things at work are not.
So, maybe you should honestly self-reflect: had that book not happened in your life before, would you even consider understanding LC today, unadulterated by "gimmicks"?
comment 1w ago · link · parent
When an LLM is given access to a REPL, it gets even more interesting. Agents stop guessing and start empirically analyzing the current state of affairs, changing things dynamically, reaching the correct solution much faster and costing even fewer tokens.
comment 2w ago · link · parent
comment 2w ago · link · parent
You're (perhaps inadvertently) highlighting my main point - the architecture of Emacs is so flexible that it allows (maybe even encourages) the existence of such variability for modal modes, which would be inconceivable in pretty much any other editor or IDE.
Therefore, it proves my statement once more - Emacs vims better.
comment 2w ago · link · parent
comment 2w ago · link · parent