Stephen J. Turnbull wrote:
Didier Verna <didier(a)xemacs.org> suggested embedding a
parser in XEmacs. You could ask him if he ever did anything with
Nope, like 99% of my XEmacs-related projects in the last 6 years :-(
Or create a loadable module to embed bison in XEmacs ....
hard, since it needs to work on Lisp buffers rather than raw text.)
That was more the idea, yeah.
My original idea (IIRC) was that the notion of major mode as it is right
now is shaky/obsolete. The way to go is do natively (I insist on
"natively") something in the lines of mmm. For instance, in a code
buffer, you want text-mode in comments and <code>-mode in the code
areas. There would be some kind of "meta-mode" to coordinate all
involved (sub-)major-modes, but no <prog-lang>-mode should have to deal
with the contents of comments in itself. For that (and also to ease
fontification) we would really need a proper syntactic analysis in
 Of course, things can be more complex than that, for instance in
strings where you would like text-oriented editing, but the language
also has something to say about string syntax.
European Lisp Symposium, May 2009: http://www.european-lisp-symposium.org
European Lisp Workshop, July 2009: http://elw.bknr.net/2009
Scientific site: http://www.lrde.epita.fr/~didier
Music (Jazz) site: http://www.didierverna.com
XEmacs-Beta mailing list