3 ms·
Yes, I apologize for my sloppy statement. I realize Emacs does a lot of the work for you. It's just that I've worked with some of these mode packages over the
by cpr 17y ago
Yes, I apologize for my sloppy statement.
I realize Emacs does a lot of the work for you. It's just that I've worked with some of these mode packages over the years and have been impressed with the complexity they embody and the size of the code involved.
Textmate seems to avoid most of that complexity with its declarative system, and still give you syntax highlighting and auto-indenting, etc.
- jrockway 17y agoThis is mostly because authors can't resist the urge to also do something "interesting" in addition to "just" syntax highlighting. imenu support for example. (imenu is "tags without a tags table" for one file.) If you look at cperl-mode, for example, syntax highlighting and indentation support is only a small part of its line count. The rest is things like auto-documentation of core features, including 100s of lines of documentation strings for Perl core functions.