While interesting - isn't one of the points of mg that is its small and *NOT* extensible?
I mean, if I want extensible, I'll freaking run emacs. I actually like having and editor that is smaller than vim and emacs to use. 2010/1/24 Ted Unangst <[email protected]>: > So one of mg's bugs is that it's not extensible. This doesn't > normally bother me, because I use vi. But I decided to do something > about it. A full lisp like emacs would be a little crazy, given the > point is to have a small editor. But tinyscheme isn't too bad. So in > it goes. > > Now just having an extension language isn't too useful unless you an > do something with it. So far, the only thing you can do from mg is > run scheme code (M-x scheme). But you can't see the results. The > scheme code can write into the current buffer with (insert string). > It's not really challenging to add more links, I just didn't do it > yet. > > So what can we do? Not a whole lot, unless we add networking. So I > also wrote a small C module that lets tinyscheme open sockets, and a > stupidly simple HTTP client in scheme. Put this all together, and you > can download the source of web pages directly into your text editor. > If you're lucky and you got all the moving pieces together, that is. > > It's still pretty alpha and there's some rough edges, but the concept > is working. I put together a little web page with links to the > sources. > > http://www.tedunangst.com/mgscheme.html
