ASP/JScript - MMM?

topic posted Thu, July 27, 2006 - 8:42 PM by  Unsubscribed
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
posted by:
Unsubscribed
  • Unsu...
     

    Re: ASP/JScript - MMM?

    Fri, July 28, 2006 - 7:36 AM
    Perhaps 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))

Recent topics in "Emacs"

Topic Author Replies Last Post
eMergency eLisp 0 January 25, 2008
pretty quiet 0 September 14, 2007
Emacs 22 released Theron Ttlåx 0 June 5, 2007
ViewMail with smtpmail? offlinealex 0 November 29, 2006
Non-destructive word-wrap Theron Ttlåx 4 July 15, 2006