[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: wml-mode for (X)Emacs ?

"Ralf S. Engelschall" <rse@engelschall.com> writes:

> On Mon, Jul 13, 1998, Alexander Graefe wrote:
> > just a quick question: Has anybody written a wml-mode for (X)Emacs ?
> > The html-mode unfortunately doesn't know about eperl and the other
> > wml-goodies, and I don't know jack about lisp, so writing it myself
> > is out of the question (too busy understanding wml fully, thanks Ralf
> > for such a great tool !)
> Is such an Emacs wml-mode just syntax highlighting of WML-Tags or is
> it really more like tag expansion, etc?

I think syntax-highlighting would be what's needed. Why would one want
to expand wml-tags, a job wml itself is doing??? The idea of WML is
"abstraction" (for me at least) and the last thing I'd do is expand
the tags in the editor to HTML.

> If its pure tag highligthing it should be trivial as for Vim (just a
> few regex).

Trivial? Including handling embedded perl-code? 

Even the better perl-modes for Emacs don't handle all Perl-constructs
correctly. Which is not surprising, as only Perl understands Perl
correctly. Same as for TeX/LaTeX. Perhaps somebody cares to implement
Perl and TeX in Emacs-Lisp? Wouldn't that be some nice little summer
project for bored CS students?  ;-)


Dr. Fritz Zaucker, Head IT Support Group
Department of Electrical Engineering,  Federal Institute of Technology
ETZ J97, Gloriastrasse 35, 8092 Zurich, Switzerland
Tel.: +41-1-632-5241 Fax: +41-1-632-1194 http://www.ee-staff.ethz.ch/~zaucker/
E-mail: zaucker@ee.ethz.ch (see home page for PGP key)
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com