I'm doing a lot of ASP/JScript lately, and I'm having a hell of a time getting mmm-mode to work. Anybody fooled with this minor mode before? Maybe share your config?
Thanks
Thanks
posted by:
|
|
Unsubscribed |
-
Unsu...
Re: ASP/JScript - MMM?
Fri, July 28, 2006 - 7:36 AMPerhaps I should add my code:
(mmm-add-classes
'((aspjscript
:submode ecmascript-mode
:match-face (("<%=" . mmm-output-submode-face)
("<%" . mmm-code-submode-face))
:front "<%=?"
:back "%>")))
(add-hook 'html-mode-hook
(lambda ()
(setq mmm-classes '(aspjscript))
(mmm-mode-on)))
(setq auto-mode-alist
(cons '("\\.asp" . html-mode) auto-mode-alist)) -
-
Re: ASP/JScript - MMM?
Fri, July 28, 2006 - 5:39 PM(brief-off-topic-rant "I hate that you can't have leading whitespace in tribe posts. Sucks for poetry posts too.")
-
