2 ms·
This sort of thing is where I've found emacs most valuable. For proprietary or product-specific configuration and scripting languages, particularly ones where n
by to3m 11y ago
This sort of thing is where I've found emacs most valuable. For proprietary or product-specific configuration and scripting languages, particularly ones where no decent editor is provided at all (or there's some terrible builtin editor, based on SciTE at the very best), being able to quickly put together an emacs major mode is very handy.
Once you've got the basics written, you can start to work. Then add imenu support, and you have file browsing. Then add your language to exuberant ctags - which has a line-based regexp mode that you can pretty much reuse your imenu regexps for - and get it to generate emacs-compatible tags files, and you've got basic cross-file symbol navigation.
(The quality of ctags-based symbol browsing can be hit or miss - for languages like Java or C++, where many mechanisms require symbols to be identically-named, it's not that great. But not-that-great is still a lot more convenient than nothing.)