A nice collection of papers on editor implementation. Link
(I’ve been using Emacs since 1979, and Epsilon, my favorite Emacs-like editor, since 1991. It’s amusing to do something in a few seconds in Epsilon that makes a Visual Studio or vi user’s jaw drop . . . though I really, really like Intellisense…).