all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* mmm-mode and html/vbscript/javascript
@ 2003-08-12 18:22 Peter Lee
  2003-08-12 21:17 ` Joe Kelsey
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Lee @ 2003-08-12 18:22 UTC (permalink / raw)


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.

Thanks in advance.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mmm-mode and html/vbscript/javascript
  2003-08-12 18:22 mmm-mode and html/vbscript/javascript Peter Lee
@ 2003-08-12 21:17 ` Joe Kelsey
  0 siblings, 0 replies; 2+ messages in thread
From: Joe Kelsey @ 2003-08-12 21:17 UTC (permalink / raw)


Peter Lee <pete_lee@swbell.net> wrote in message news:<uhe4m7n2a.fsf@swbell.net>...
> 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 http://mmm-mode.sourceforge.net/ for the last word in mmm-mode or
subscribe to mmm-mode-discuss@lists.sourceforge.net

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
javascript:

<!-- -*- 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.

/Joe

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-12 21:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-12 18:22 mmm-mode and html/vbscript/javascript Peter Lee
2003-08-12 21:17 ` Joe Kelsey

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.