3 ms·
> [emacs] was designed as an editor with macros (thus the name) no, that's not true. emacs was written in the macro language of another editor, teco; teco had
by fsckboy 4y ago
> [emacs] was designed as an editor with macros (thus the name)
no, that's not true.
emacs was written in the macro language of another editor, teco; teco had the macros. So, emacs was written as a new editor written on top of the old editor teco, and at that time, emacs was a set of "teco edit macros". As a user, where you used to run teco, you could instead elect to run the "edit macros"
because the authors of emacs were teco users, and macros were so useful to the teco user, yes, a macro facility was also added to emacs for the emacs users, but emacs itself was not intially those macros, it was teco macros.
- lispm 4y agoThe second Emacs was written for the Lisp Machine by Daniel Weinreb. There the whole editor was written and extended in the same language (Lisp Machine Lisp) in the same environment. There it did not have a separate macro language.