Emacs Is My Browser

(joshblais.com)

148 points | by nyc111 6 hours ago

20 comments

  • kmstout 1 hour ago
    Shameless plug time: About a year and a half ago, I wrote [1] about a way of squeezing more text onto the screen, using Emacs, that plays well with eww and does a reasonable job of preserving readability. Basically, it's a hack that builds on follow-mode to quickly convert a frame into a columnar display for long buffers, with interactive adjustment of the number of columns.

    [1] https://www.reindeereffect.com/0002

    • marttt 54 minutes ago
      I used Emacs around 2010-2012 or so as a journalist, and I remember asking help on Stackoverflow regarding this exact same thing. I've lost my elisp multi-column-mode snippet; thanks for sharing yours. It was a really good way to edit a longer story; it's actually quite surprising that using something like this in a text editor is not that common. I later moved over to Plan9 Acme editor and IIRC implemented a similar solution there as well.

      If you want to put the multi-column mode on massive steroids, check out an old Vim add-on called microViche for inspiration -- "text editing on an infinite pane": https://www.youtube.com/watch?v=9YNiPUTGO28 and https://www.youtube.com/watch?v=xkED6Mv_4bc

      The addon itself, FWIW (no idea if it works on a current Vim): https://www.vim.org/scripts/script.php?script_id=4835

      I remember trying to use this one as well, because the paradigm/concept is really cool and IMO unusual. I couldn't really get used to it, but it was a fun and inspirational way to make one's brain explode.

  • Arubis 5 hours ago
    The most important part of this is toward the end, and whether you consider it a limitation or a feature is a matter of perspective: the modern commercial web does not play nice with this. So static HTML and blogs yes, Reddit and most anything commercial no.

    You can actually get other close-to-browser experiences with stuff like xwidget and embedded WebKit (https://emacsdocs.org/docs/emacs/Embedded-WebKit-Widgets) but generally it’s not worth the fight for commercial sites these days; everything is vibed and only tested against Chrome, so if you’re lucky they’ll load in other Chromium browsers and _maybe_ Firefox.

    • graemep 3 hours ago
      I use Firefox and cannot remember the last time I had to switch to Chrome. Most site work with JS off too (especially if you use reader view).

      Quite a lot of sites work well with other browser engines too. I have tried PaleMoon, Netsurf. Users of Apple mobile devices seem to be fine with Safari.

      Really light or unusual browsers might be a problem. Dillo, for example (its very fast though).

      • dunham 2 hours ago
        The two things that I'm missing in Safari are auto dark mode (re-coloring pages) and toggling javascript per-site. Currently I'm using the "Quiche" browser (paid) for that, but github is suddenly hating it (requiring a login). I like that desktop chrome lets me toggle javascript per site out of the box.

        It sounds like the dark mode thing is coming in the next Safari release.

      • brabel 40 minutes ago
        It really, really depends on what sort of websites you visit. I use FireFox as my main browser, but at least once a week I have trouble trying to do something on some website that only works on Chrome and its descendants. I'm sure you're not lying, but given you also say "most sites work with JS off too" I can absolutely tell you're not the average internet user. But yeah, we're discussing using eww here, so I'll accept none of us are.
      • BeetleB 3 hours ago
        Even before I had much of the Internet ban me because I was playing with a bot, my FF profile on Linux was giving me a lot of trouble. About 6 months ago a lot of web sites barely functioned for me. I can't log in to E-trade. Home Depot and Lowes search doesn't work for me.

        If I open a brand new FF profile, some of these sites do work. But I guess the combination of FF, on Linux, with my addons is triggering something.

        • fancyfredbot 2 hours ago
          These days, when I think I've got a Firefox issue and try switching to chrome the usual outcome is that I discover the website was broken and Chrome doesn't work either.
        • lta 2 hours ago
          I can't remember the last time I had to open chromium. Everything works fine with FF for me. Couldn't be happier about it
        • graemep 3 hours ago
          Possibly, I use Firefox on Linux. I am in the UK so maybe British sites are better? Maybe just luck or usage patterns. Very likely the addons.
    • kkylin 4 hours ago
      I think that's absolutely right: whether this works or not depends on what you do.

      I tried xwidget-webkit as main browser briefly, but very quickly gave up. When a collaborator sends me a Google Doc, for example, I really still need a browser to work on it. I still use xwidget-webkit daily -- it's a great PDF viewer, and really nice to be able to have Jupyter notebooks open side by side with code buffers -- but for most tasks involving the web I'll switch to a browser.

    • shevy-java 42 minutes ago
      > Reddit and most anything commercial no.

      Not long ago reddit killed old.reddit.com effectively by forcing log ins to it. That totally defeated the point of it so I stopped using reddit. I also no longer read it since the platform is so censorship-heavy.

  • jll29 4 hours ago
    Richard Stallman (RMS) also uses the Web from Emacs. But I believe he pastes URLs into a program that sends him a screen copy by email (at least as of approx. 20 years ago, when I last saw him in person).

    His motive is not mindfulness, but ideology.

    • ehecatl42 4 hours ago
      Love him or hate him, but I shudder to think of a world without him. The Tech Trinity is: Thompson, Stallman and Torvalds.
    • enjoyyourlife 4 hours ago
      This almost seems like satire to me
      • SoftTalker 3 hours ago
        Donald Knuth has his secretary print his email. He'll handwrite replies on the paper, and she'll send them out.
        • brabel 35 minutes ago
          I love how the people who basically invented computing prefer doing things using pen and paper, or go really out of their way (emailing screenshots of websites) to avoid certain widespread technologies they helped create.
        • agumonkey 2 hours ago
          Long ago some sales dept colleagues did this with large excel spreadsheet. I couldn't stop insulting them in my head (treehugger me fully triggered). Maybe they were all math geniuses ..
      • mimischi 2 hours ago
        You should read some of the Emacs mailing lists. There’s been a recent (~last 12 months) discussion about changing the default Emacs logo. The proposed new logo, an SVG, was attached to the mail parent. A side thread ensued when RMS asked how to open an SVG and view it in its image form.

        I love my Emacs. And yet here I am completely dumbfounded by this interaction!

        • brabel 32 minutes ago
          SVG is 21st century tech!

          EDIT: eww can render SVG quite well!

          EDIT 2: but no SVG animations...

  • krylon 1 hour ago
    I have an old - and I mean old - laptop sit in my bathroom I use for reading random-ish Wikipedia articles, and it's too puny to run any mainstream browser. I used to use Dillo, which is fine resource-wise, but I grew annoyed over time that it does not have session management.

    Then, recently, it hit me - w3m-mode has both tabs and session management. It somehow even displays images more reliably than Dillo. I wouldn't use it as my main browser on the desktop, but for my specific use case, it's perfect.

  • agumonkey 23 minutes ago
    Tried gemini browsers again recently, and while I appreciate the zen / distraction free system, all I was thinking about was bringing emacs ux around it. Modern web doesn't mesh well with my brain.
  • leoc 3 hours ago
    The one thing above all that is urgently necessary is a content-addressable replacement for (or layer above) HTTP(S) which is genuinely ready to go and has adoption which is meaningful and moving in the right direction. Unfortunately we seem to be going in the wrong direction there right now. Cute browser setups and retro-chic web servers are fun and a nice gesture but they won't get us there.
  • stevenfoster 1 hour ago
    I appreciate the post though I am not an eMacs user. The spirit is much aligned with my own desire to use the web this way. Well done getting Laborem Exercens on the homepage.
  • meken 2 hours ago
    It makes me think that having a local semantic AI layer in your browser would be cool, to strip away ads and just show you the content you want to see (like reader mode).

    Paired with a local on-device model would be pretty sweet.

    • moritzwarhier 2 hours ago
      Seems like the end game is forcing all ad-financed and tracking-financed content behind login walls.

      Feels like we were already almost there because of ad blocking, without even considering AI agents and summaries. And I take no offense in ad blockers, I use them myself.

      Sad thing about current public web "content" apps (be it newspapers or other formats) is that the paid versions often share all tracking features with the ad-financed version of the same service, when both are behind a login wall. Only fewer ads, at least hopefully no ads from other vendors / no intrusive brokered ads.

      Self-advertisement going through the roof when accepting an offer for a paid subscription is another frequent annoyance though.

  • sammy0910 2 hours ago
    I've been working on some open source tools for this that you might find interesting:

    https://github.com/sstraust/simpleweb

    • sammy0910 2 hours ago
      the idea is to open a webpage in a headless browser, run all the javascript and whatnot, and then ai-generate a program to translate the page as-displayed into a textonly format.

      not great for everything, and it does, unfortunately need an LLM call to generate the translation program, but if you truly want to live in emacs, I've found it as a good stop-gap for certain pages that EWW cannot effectively render.

    • hollerith 1 hour ago
      I like to give my AI assistant a URL and ask it to tell me what the page says — and my preferred way to talk to the assistant is in Emacs.
  • ohaodha 5 hours ago
    I don't want to hate on this particular post, but I really dislike the great number of blog posts, videos, and articles that have a title which says "Why I do X in <some unconventional way>" where upon reading the blog post hoping to learn some useful feature that say, browsing the web in Emacs affords you (like closer integration between research and writing for example), you learn that the benefit in question is actually that the method is less useful than conventional means.

    I think the idea that you do something in a more difficult or less convenient manner for the sake of "mindfulness" or "focus" is well-established, and what I hope for (and am always disappointed by the lack of) when reading such blog posts is an actually useful feature of the unconventional method in question.

    The title of this blog post promises some usefulness from using Emacs as your browser, and upon reading, you discover that the "usefulness" is the inconvenience and impracticality of using it that way.

    • zahlman 4 hours ago
      > you learn that the benefit in question is actually that the method is less useful than conventional means. … hope for … an actually useful feature of the unconventional method in question.

      People write these things, and use these methods, specifically because they don't conceive of usefulness the same way you do.

      In this case, the justification offered doesn't mention all the various keybinds that have been pushed down to the "how" section. But clearly the simplicity is a feature:

      > D will download images locally, b goes back a page, a will save bookmarks. All of this makes browsing in eww truly enjoyable.

      The point is the same as usual for TUIs: you don't have to switch over to the mouse and hunt out a button, as the necessary key is always literally at hand.

      People who find this sort of thing "truly enjoyable" (what clearer statement is there of featurefulness!) commonly take it for granted and don't explain the virtues of it very well. That sort of explanation is found in think pieces about TUI design more generally.

      TFA describes a goal of avoiding distraction. That is not at all the same thing as "inconvenience and impracticality". Clearly the author finds these keybinds quite convenient and practical. It's just that they don't cover a bunch of web interactions that you perhaps value, but the author doesn't.

      • ohaodha 3 hours ago
        You mischaracterise me. I am an Emacs user and I use qutebrowser as my web browser, which uses Vi-like bindings and Python configuration. When forced by circumstance to use other browsers, I use browser extensions to add Vi-like bindings. I find it extremely efficient and enjoyable.

        The keybindings aren't mentioned in the "Why?" section of this blog post, and clearly aren't the point of the post. You can get extensions to add Emacs bindings to full-featured browsers, and there's even the Nyxt browser which has Emacs keybinds and Lisp configuration.

        The core reason listed in this blogpost for browsing this way is the very fact that it is less featureful and less convenient. As someone who uses Emacs, I know that eww isn't as convenient as a fully-fledged web browser and I know that sometimes the hard way of doing things can be beneficial. I found this blog post disappointing because it doesn't afford you any new information, nor tell anyone about any actually useful features about browsing in eww.

      • AndrewKemendo 4 hours ago
        This is why I find the whole emacs conversation confusing

        You’ll have people who demonstrate their whole set up and interactions and hot keys and shortcuts and everything and then when you say OK well why would you do it like that it all boils down to:

        “This extremely precise implementation works for only me and my specific workflow”

        I found that it’s almost more useful to think about emacs users showing off their org mode bindings are basically like Warhammer players showing off their painted figurines

        • hughw 4 hours ago
          You can possibly learn some new setting you can add to your own flow.
        • BeetleB 3 hours ago
          My config is loaded with things from posts like these.

          That's their value.

    • jolmg 3 hours ago
      > I really dislike the great number of blog posts, videos, and articles that have a title which says "Why I do X in <some unconventional way>" where upon reading the blog post hoping to learn some useful feature that say, browsing the web in Emacs affords you (like closer integration between research and writing for example), you learn that the benefit in question is actually that the method is less useful than conventional means.

      It wouldn't be unconventional if most found it useful. That doesn't mean the author themself doesn't find it useful:

      >> I have seen in my own use of the modern browser (chromium/firefox) that it is far too easy to get distracted

      They find EWW useful to cut distractions.

      >> In addition to this, my belief is that we should make strides toward leaving behind Layer 8 of the internet - the limiting frontends of social platforms and locked away corners of the net that limit actual discourse (Discord, I’m looking at you). [...] The internet is just a delivery mechanism.

      They also find it a useful way to stick to their ideals which I understand to be that they should be in control of the front-end and the internet is only to be treated as a delivery mechanism of information.

    • v9v 4 hours ago
      I'll go through some personal upsides to using eww.

      The main utility I see in browsing the web through emacs is the potential to integrate it into your workflow. You can have your code/notes open in one buffer and have the website in another, which is useful for documentation, or an article you're following along, etc.

      With gptel, it's easy to highlight part of a blogpost and ask an llm a question about it, or get it to rewrite or annotate the whole page.

      With macros you can do basic automation, like this webscraping example here: https://nickdrozd.github.io/2018/10/17/web-scraping.html

      An added bonus is that your keybindings for the rest of emacs are also valid here. (Though for that I've recently started using Glide, a firefox fork, and set all of its keymap to match my emacs bindings)

      • AndrewKemendo 4 hours ago
        >You can have your code/notes open in one buffer and have the website in another, which is useful for documentation, or an article you're following along, etc.

        I’m curious what the difference is between that and having pinned windows in Ubuntu

        For example I’ll have sublime text, one terminal, a notepad, and a firefox window with multiple tabs, pinned to the four corners of my desktop

        Everything You describe is possible without emacs so I’m genuinely trying to understand the appeal

        • iLemming 50 minutes ago
          > I’m curious what the difference is between that and having pinned windows in Ubuntu

          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

        • skydhash 4 hours ago
          > Everything You describe is possible without emacs so I’m genuinely trying to understand the appeal

          The advantage is that it’s a single program with multiple windows with a shared list of buffers. So you can save transform your layout and save it, manipulate the content without any real boundary, unified bookmarks,…

          Your WM can’t access sublime and firefox internals. And the last two can’t talk with each other.

          • AndrewKemendo 4 hours ago
            > Your WM can’t access sublime and firefox internals. And the last two can’t talk with each other.

            But why would I want them to as the default interaction?

            I can ctrl-c > ctrl-v from one to the other trivially and ffx has console and inspector internals visible with one Function key press

            • BeetleB 3 hours ago
              If you don't want to, then you don't want to. Understand you may want things others don't, and vice versa.

              Although I don't browse the web with Emacs, I see the utility.

              Tell me: How would you select some text, and with a keystroke, send the selected text to yourself via email, with the URL included and the title of the page in the subject line?

              • AndrewKemendo 3 hours ago
                > Tell me: How would you select some text, and with a keystroke, send the selected text to yourself via email, with the URL included and the title of the page in the subject line?

                I think the takeaway for me is that emacs is for people who get enjoyment out of building their own custom computing environment

                The example you describe is something I would rarely do so building a process around it would be inefficient for me but if that’s where people want to spend time then great

                • iLemming 27 minutes ago
                  > The example you describe is something I would rarely do

                  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.

                • BeetleB 3 hours ago
                  > I think the takeaway for me is that emacs is for people who get enjoyment out of building their own custom computing environment

                  For long time users, that's the whole point of Emacs.

                  > The example you describe is something I would rarely do

                  I used to do it at work all the time (not with Emacs, but with AutoHotKey). Find a long article I'd really like to read, but don't want to waste time at work. With a keystroke, I'd quickly send the email to me with the URL etc.

            • skydhash 3 hours ago
              > But why would I want them to as the default interaction?

              Some find it useful. One can write code in vim or sublime, the only differences are the specific actions to get it done and the user experience. People will lean towards one another, not for the capability to write code, but for how it’s done.

              So what I’m trying to showcase is not the capability, but the Emacs ways of getting it done. You can also implement something with a WM setup or tmux (with w3m). But it’s a different feel and effort, so people like ones and dislike the others.

    • bagacrap 2 hours ago
      Less distraction is a feature
      • agumonkey 2 hours ago
        In 2026 it's almost a healthcare requirement to me.
    • bunabhucan 3 hours ago
      "I use emacs to brush my teeth" or whatever is like catnip for hacker news.
  • pwillia7 33 minutes ago
    I went through trying to use emacs for everything years ago and had a blast but ultimately it just didn't work out. You'd have to be stallman level crazy to really do it but I applaud anyone trying or doing it.
  • shevy-java 43 minutes ago
    > The internet is just a delivery mechanism, and for people that see it for what it really is, the internet has never been more alive. I truly recommend using the internet as if it was 1999.

    Well, he has a point - Google controlling so much of the www is bad.

    On the other hand, it's not all bad only. While more and more youtube videos are crap, there are useful youtube videos. Many people use it for learning too and often that works as well. Using emacs as browser really does not fix the issue. Also, emacs needs a proper editor if it ever wants to be a good operating system.

  • gib444 3 hours ago
    If you're on MacOS and tempted by Emacs, the homebrew emacs-plus package will make it slightly less painful but bear in mind it really works best and fastest on proper *nix machines
    • krylon 1 hour ago
      > it really works best and fastest on proper *nix machines

      Last I heard, Apple has each version of macOS certified for POSIX/SUS compliance. Did they stop doing that?

    • LordGrey 3 hours ago
      I use Emacs For Mac OS X. Up to date and installs via a .dmg. Great experience.

      https://emacsformacosx.com

      • gib444 2 hours ago
        There is the cost of spawning a subprocess on Mac though compared to forking, and Emacs does a lot of spawning
  • jrootabega 3 hours ago
    I think you're in for a lot of trouble if you do this without heavy-duty sandboxing in 2026. There is going to be an Emacs security apocalypse soon.
    • Shellban 3 hours ago
      Maybe I am not up to date on my browser threats, but exactly how much damage can a website without JavaScript do? The most I can think of is cross-site form requests and cookie shenanigans, but that is a problem primarily solved by web hosts, not browser providers.
    • empthought 3 hours ago
      Can you be more specific about this?
  • juujian 5 hours ago
    Would love to try to explore emacs again, but the emacs pinky shenanigans are such a turn-off. Simultaneously the most efficient and possibly the least ergonomic way to navigate a computer?
    • ixsploit 4 hours ago
      I've bound CTRL to Capslock and don't have much problems with it. Given that in emacs you have dired, magit, org, org-babel and now ghostel (and many more) I can't think of any more ergonomic way in using my computer. I have all my plugins like flash-jump or gptel available everywhere, it's amazing.
    • semilin 3 hours ago
      Easy fix, and better than Caps-Ctrl in my opinion: swap Lalt and Lctrl. That way ctrl is under your left thumb, alt under your right. No need for pinkies at all.

      You can use software like Kanata to accomplish this if you don't have a programmable keyboard.

      • SoftTalker 3 hours ago
        CTRL-A seems awkward in that mapping. I still prefer swapping Caps Lock and Left-Ctrl; this gives you similar Ctrl key positioning to the old terminals (VT100, ADM-3A, early PC keyboards) that were used in the early days of emacs and are the reason for all those C- keybindings.
    • ohaodha 5 hours ago
      You can use "evil mode" for Vi-like bindings if you prefer. There are a number of Emacs "distributions" like Spacemacs and Doom Emacs which come preconfigured for Vi-like editing.
      • Arubis 4 hours ago
        +100 here. Going full evil+spacemacs (for self-documenting arpeggios instead of chord sets) a bit over a decade ago transformed Emacs from a fun toy to a fulltime environment for me.
    • Shellban 3 hours ago
      Funnily enough, I am the opposite: I tried Vim, but I preferred the "pinky shenanigans" of Emacs to reduce trying to figure out what mode I was in to just edit files.
    • bygosh 4 hours ago
      many people use homerow mods, but I haven't tried them personally.

      if you happen to use a thinkpad and don't use the trackpoint, you can remap the two mouse buttons above the trackpad to ctrl and alt using keyd on linux. this completely solved RSI on my laptop.

    • BeetleB 3 hours ago
      > but the emacs pinky shenanigans are such a turn-off

      I've never had this. I'm either lucky, or I know to use both Ctrl keys on the keyboard.

      If you're typing C-x, you should use the right control key. The standard ergonomics advice is to use both hands when doing multiple key combinations.

      Also, just use the usual cursor keys for navigation!

    • skydhash 4 hours ago
      > but the emacs pinky shenanigans are such a turn-off

      Do you touch type? You’re meant to use the modifier keys on the opposite side (so use both hands) rather than stretching your pinky to press them. Also there are packages such as god-mode which help.

      But the most helpful thing is doing navigation by page instead of line which reduce the use of keybindings.

  • jmclnx 5 hours ago
    FWIW, you can login to here (https://news.ycombinator.com) using eww. The only minor issue is you are really limited to 1 line if you want to comment. And seems you cannot vote either.

    I have yet to figure out how to get around those issues.

    And a big plus, eww is great for resource limited systems like old 32bit laptops.

    • kreyenborgi 3 hours ago
      1 line? Did you try C-q RET?
      • jmclnx 3 hours ago
        This is line 2 after C-q RET
        • jmclnx 3 hours ago
          No, it did not work :(
  • TacticalCoder 3 hours ago
    > I have seen in my own use of the modern browser (chromium/firefox) that it is far too easy to get distracted - too easy to get off track and fall down rabbit holes that take over my day.

    I have a very easy solution for that: zero sound output from my main desktop/workstation computer. I mean: technically I leave the sound drivers and the sound on, but there's nothing connected to the output (so speakers / no headphone).

    The deep underlying philosophical question being: "If a PC outputs audio to nothing plugged into it, does it make a sound?"

    The answer doesn't really matters though. What matters is that it's a great way to not get distracted.

    My main desktop emits, on purpose, no sound since... 20 years?

    For the rest, I've got laptops.

  • cmrdporcupine 5 hours ago
    Unfortunately GNU Emacs is single-threaded and blocking by design and not well suited for this kind of thing. Using it for things like browser or window manager usually ends in either weird hacks or uncomfortable pauses.

    I have more hope in projects like lem which implement new emacsen from scratch.

    • armitron 4 hours ago
      Emacs has asynchronous IO support which is more than sufficient for networking. It is up to the relevant mode or application that runs on top of Emacs to take advantage of it and not all of them do (for example, Gnus).

      There are also various multi-processing configurations for even more flexibility: multiple Emacs processes that can coordinate, Emacs modules over a C API which can create native threads outside of Emacs and so on. What Emacs lacks is parallelism inside a single Emacs process, which is arguably not needed and would be a net negative from a safety, ease of development and debugging point of view.

      Look at the recently introduced canvas API (https://monadicsheep.org/blog/an-introduction-to-canvas-in-e...) for some examples of what's possible via that flexibility.

      Lem is nice but nowhere near as nice as modern Emacs (and probably never will be). Emacs Lisp isn't Common Lisp but has evolved significantly and the remaining differences don't really matter in practice because Emacs momentum, massive user base and ecosystem are a tremendous advantage.

  • serptail 4 hours ago
    [flagged]
  • enoch_hou 4 hours ago
    [flagged]