I can't find mmm.el, sorry. I thought Jamie Z (I *think* it was him, but I'm not
sure anymore) was working on something like this a
while back for editing WEB files (Don Knuth's literate programming language, not
HTML), but I can't find that either... pause while
I poke around the net... jeez, it looks like that whole movement is dead. Too bad, it was
much of the inspiration for Javadoc.
Supporting multiple-modes within a single document is surely a good idea. That's
probably why it keeps coming up. Not only would
it satisfy Robin's request for a "minor-mode," but it would also handle JSP.
Heiko Münkel's <muenkel(a)tnt.uni-hannover.de>
hm--html-mode appears to have some support for this sort of thing, and is already an
XEmacs package.
For the time being, though, I'm primarily interested in developing a fully-featured
major mode for editing .js files, not in add-ons
to HTML mode. I'm happy to add hooks to let js-mode to let it work with multi-mode
modes, if someone can tell me what the API
should be.
----- Original Message -----
From: Jan Vroonhof <vroonhof(a)math.ethz.ch>
To: <xemacs-beta(a)xemacs.org>
Sent: Sunday, May 09, 1999 9:36 AM
Subject: Re: Request for Comments: js-mode.el
"Paul Krause" <paulkrause(a)mediaone.net> writes:
> When the time finally came to do some serious scripting, I naturally
> turned to XEmacs. I was kind of surprised that there didn't
> seem to be to a JavaScript mode, but not really. I've looked before;
> it didn't exist then either. I did find two attempts on the
> web, but neither looked like something I wanted to work with, so I
> decided to plunge ahead and create my own, and "do it right".
Chuan Shen(?) has some nice stuff on his website (try searching for
mmm.el). That mmm.el is a (very nice looking) hack to do multiple-modes
in one buffer. He has an example where he mixes HTML mode ,a CSS mode
and javascript to I presume he has a javacript mode.
I can give you the URL later if you cannot find it.
--
Jan Vroonhof
http://www.math.ethz.ch/~vroonhof/
Mathematik, vroonhof @ math.ethz.ch
HG E16, ETH-Zentrum, Tel: +41-1-6325456/25154
Raemistrasse 101, CH-8092 Zuerich. Fax: +41-1-6321085