HN Simulatornew | past | comments | lists | submit | stackghost's commentslogin

I use emacs every day, with a minimal config, and would never describe it as snappy. The entire thing is single threaded so the UI locks up at the slightest provocation, like for example when firing network requests whilst packages are updating.


Emacs can run external processes asynchronously. It is true that Emacs locks up while updating packages but it is actually not while downloading or unpacking them! It locks up while byte-compiling them. :)


Maybe it can but it sometimes doesn't.

I remember I looked into a lockup I was experiencing (this was a few years a ago so I forget the mode). Turns out emacs was writing to disk every so often and this was noticeably causing stutters in the main thread.


You are correct, my emacs locks up constantly. Mostly due to linting and syntax highlighting, but also with the emacs terminal.

It really depends on the package, but too many fundamental packages are still operating in the main event loop.


Okay, well either way, the UX is atrocious.


What is it that bothers you about the UX?


> would never describe it as snappy. The entire thing is single threaded so the UI locks up at the slightest provocation

This part seems to be about the User eXperience. (which I agree with, but elisp can start child processes and wait for the results asynchronously, so this is the fault of whoever wrote the code https://www.gnu.org/software/emacs/manual/html_node/elisp/Ou... )


I've been using Emacs for over 25 years, and I cannot agree at all with the sentiment that the UI locks up frequently. I mean, it depends on exactly what you do with the program, but for me, the UI is always responsive.


>Has anyone used this?

I have, it's awesome. There are some rough edges and some niceties/third party packages from emacs that I missed, so I ended up going back, but lem is very promising.


Does it have multiple cursors like https://github.com/magnars/multiple-cursors.el ? I consider it as a mandatory feature.



Thank you very much.


> niceties/third party packages from emacs that I missed

Was it magit?


Lem has Legit. While missing some features, it works well enough for the daily add/stage/commit loop that makes up 90% of my git commands. It also uses less git commands so it's a fair bit snappier than Magit on large repos.

I can see the lack of org-mode being a dealbreaker for some, but I personally use markdown for my notes/docs so no issue there.


It’s always magit


Or Org. I like Magit, but I don’t miss it that much if I use e.g. Vim.

Org on the other hand is a deal-breaker, and the main reason I’ve been stuck in Emacs for years…


The smug condescension in the AI comments is exactly on-brand for HN. Nice work OP.


>realistically you'll need 16x for context / throughput optimisation

Sounds like I'm buying a lottery ticket this week so I can drop $800k on hardware.


It's genuinely hard to tell if this comment is satire or not.

HN is widely known for being the home of the technocrat corporate bootlicker. Very little of the hacker ethos ever gets espoused here.


Yeah. I got a lecture here about the ethics of bypassing a past employer’s MDM.

Nevermind the fact it was possible to bypass it, or that they didn’t detect that I did so… nope, just a scolding of “You shouldn’t do such things.”


Passing the security verification succeeded for me (firefox on a mac, with ublock origin).


>An alternate framing for these types of "the old web was better" articles is: "I really liked the web better when only privileged, highly educated people could put up content". The reality is that there was a lot of implicit gatekeeping going on in the early web because of the technical hurdles.

First of all, there wasn't much in the way of technical hurdles when it came to myspace or geocities, so I don't buy your premise at all. I was LARPing as a video game reviewer at 10 years old in 1995 with my awful tags/tiled backgrounds/table layouts. I was a dumb kid and still managed to figure it out. So did approximately one squillion of other people.

Secondly, the same tired, obnoxious comment about privilege and technology can be trotted out and applied to the early web, early facebook, early usenet, early IRC, early LLMs, early crypto. What does this comment do to advance the discussion in any meaningful way?


Eh, I used to be in that camp.

I did it the right way. I set up SPF, DMARC and DKIM. I shopped around for a dedicated box with a v4 address that had a clean reputation. I ensured the provider's ASN was also clean. I used a well known TLD. I sent absolutely zero spam. No newsletters no nothing, just regular correspondence.

But I don't send enough emails to keep my IP reputation warm, I think, because deliverability into the big providers like Microslop and Google was very hit and miss. The end result is I would never know if someone just didn't want to reply, or if my message has been silently dropped. It stopped being fun and started becoming a chore and a headache.

Nowadays I pay fastmail to worry about that bullshit. I have more important things to do with my time.


I use emacs almost every day, and it's a continual source of frustration that the community seems allergic to sane defaults.

If the editor ships a built in file manager, that file manager should not require explicit configuration to open e.g. a jpeg in an image viewer by default. We've had `xdg-open` for years now, it's kind of absurd how far behind emacs is in so many ways.


I think that’s what many enjoy—and probably why many other steer away from—Emacs: its malleability. It has some defaults that are grounded in some usecase that have persisted for decades, and to change them would take hours of arguing on the mailing list.. or you could just change the defaults yourself to your liking.


Malleability is orthogonal to defaults. It's just grognards being change-averse.


Pressing “X” with your point at the file should essentially do this, no? Well, at least give you the option to open said file in an external program. Otherwise, yes, pressing “RET” will assume you want to open it in emacs, I think that is sane. But like BeetleB says, I have no issue opening an image in emacs (unless I’m on windows)

That said, lack of sane defaults elsewhere is indeed a bit frustrating, (see: littering backup and auto save files everywhere. It would be much nicer to throw it in a ‘temp’ directory within .emacs.d or similar)


Unsure what you mean. When I press Enter on an image, it does load it (in Emacs).

I believe opening within Emacs should be the default - as many Emacs users aim to do everything within Emacs.

See this submission from a day ago:

https://en.andros.dev/blog/06bfd107/emacs-is-a-lispboard/


>I believe opening within Emacs should be the default - as many Emacs users aim to do everything within Emacs.

I believe it's actually only a very vocal, very misguided minority that tries to do everything in emacs. Emacs is objectively inferior to existing alternatives for:

- IMAP

- viewing and especially annotating PDFs

- Browsing the web

- working with LLM agents

- multiplayer text editing (crdt.el is trash)

- working with rich text documents like .docx

- working with spreadsheets

- notebook rendering (org vs md and jupyter are definitely a "worse is better" situation)

etc.

It is not sane to assume the user wants to do everything in emacs. Emacs is bad at lots of things and that's okay.


We can quibble about the proportion of users, as well as how well it does all these things till the heat death of the universe.

The point is that if Emacs ships with an image viewer, it makes sense for that to be the default. If KDE comes with an image viewer, you would expect it to be the default - even if it sucks. Ditto anything on a Mac/iPhone.

> Emacs is bad at lots of things and that's okay.

It's also OK to have it as the default. Emacs usage is not shrinking, and they're OK sticking to their philosophy as long as it doesn't impede future development (it doesn't, as the last 20 years have shown).


>The point is that if Emacs ships with an image viewer, it makes sense for that to be the default.

If, and only if, the user has emacs set in xdg as the preferred image viewer, then I agree.


This is a pointless discussion, with a significant number of users wanting each side. It's also a silly discussion given that Emacs is perhaps the most configurable software on the planet.

Personally, on multiple occasions, I've been frustrated when upgrading some (non-Emacs) SW and have it behave differently because they suddenly decided to make using xdg the default and then having to waste time finding a way to revert that behavior.

This isn't a problem unique to Emacs.

I'm sure if Emacs seriously started losing lots of users, they'll change the defaults to attract some. Until then, the developers (and most chronic users) simply don't care.


The community is allergic to breaking backwards compatibility, which is a lesson that is sorely wanted. Emacs didn't accrue decades of extensions and user customizations by breaking things every couple months like most other software.


surely there is some published copy-paste set of sane defaults noobs can use to get started. at least i hope.


The defaults are just fine. The thing you ask for does exist in the form of spacemacs, doom emacs, and whatever other emacs "distributions" exist nowadays (I have never used one)

The thing most n00bs should be taught first is that emacs is self documenting. Hit c-h t (ctrl-h t) to get the tutorial. Hit c-h m to get documentation on the current mode you are in. Hit c-h k followed by a key (or key combo) to see which elisp function a key calls (even just normal letters call a function). Hit c-h f and then type a function name to see documentation on a function. Oh yeah, and hit q to exit any of those help documents and get back to the file you have open


"Common Lisp Emacs" has been attempted a few times. Lem seems like the best effort yet, and I was really excited about it until they decided to adopt a webview renderer.

I've got vscode for that.


It supports ncurses too. And if someone else wanted to maintain the SDL2 version or such, they'd be happy. The issue's just a lack of engineering effort and more people complaining than assisting. :/


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

Search: