[Top][All Lists]

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

Re: mmm-mode and html/vbscript/javascript

From: Joe Kelsey
Subject: Re: mmm-mode and html/vbscript/javascript
Date: 12 Aug 2003 14:17:45 -0700

Peter Lee <address@hidden> wrote in message news:<address@hidden>...
> Would anyone who frequently edits html containing vbscript and jscript
> who has successfully configured mmm-mode to handle this please post
> your config on how you did this?  Or maybe there is a specific mode
> for handling this case and I don't need to use mmm-mode.

See for the last word in mmm-mode or
subscribe to address@hidden

I have this in my .emacs file:

(require 'mmm-auto)
(setq mmm-global-mode 'maybe)

I place this as the first line of all .html files containing

<!-- -*- mmm-classes: html-js; -*- -->

Note that you have to specify <script language="javascript"> to get
mmm to correctly parse your .html files.  See mmm-sample.el for
details on the html-js classes.  If you insist on using non-standard,
proprietary script languages, then the changes to the html-js classes
to support alternate language tags can be accomplished easily.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]