The concept of a narrow waist is really interesting. It is the common layer that the editor and package authors talk though. Emacs’ choice of string attributes is simple but also powerful. This is contrast to other editors that try to use something more structured like JSON or a DOM, which is probably easier for the editor, but is less hackable then attributes.
Just wanted to say that this was a great read and thank you for sharing!
I’ve been meaning to learn emacs for almost 20 years at this point. This was the first time I’ve really understood the core data structures around emacs.