Five years ago(as of June 8th), I decided to give up on Acme and make my own tex...

@neauoire@merveilles.town

Five years ago(as of June 8th), I decided to give up on Acme and make my own text-editor. The plan was to make something I'd use for the rest of my life, improve it as I went along. It was to be written in this new language, and my list of ideas for it included a ton of extremely bizarre UX choices I hadn't really tested for my own. But if we ignore the more quirky esoteric things about it, there was two pretty simple choices made for it:

Undo depth: zero.
Largest file: 64kb minus the editor's own size.

Undo is probably the easiest one to understand. As you'd expect, some other mechanism emerged to take its place, I wouldn't just let it eat up my work each time I made a mistake. What ended up replacing it was being able to append and cut off chunks of snarf buffers, when I have something I might want to keep, I push it the top of the snarf file. When I'm satisfied with the change, I pop it off, or add something else on top. This has served me well enough, I figured that if I ever needed undo I might add it, but the occasion never came!

As of today, Left sits at 17677 bytes, which means I can edit a file, at most, a 45kb long file. This turned out to be less of an issue than I expected, mostly it made it so I split projects into chunks, but more importantly, it means that every single byte of the editor has to be accounted for. If I add something, I know its cost and the cost is directly making for a worse editor. This has been a constant force of optimization and code hygiene over the years.

rabbits.srht.site/decadv/
#occ2026