On Mon, 24 Jun 2002, [EMAIL PROTECTED] wrote: > On 18 Jun 2002, [EMAIL PROTECTED] wrote: > >>On Mon, 17 Jun 2002, [EMAIL PROTECTED] wrote: >> >>> Do you know of any work being done for .jsp files that involve >>> syntax highlighting, indenting, etc.? I'm currently using >>> html-helper-mode.el and works fine, but I could have thought I saw >>> an email awhile back >> >talking about JSP/HTML/JS derived from jdee. >> >>I just downloaded the mmm-mode.el package last night. I spent today >>using it. In it, you can define multiple modes by defining beginning, > ...snip... > > Do you mind posting the additions you made to your .emacs?
(add-to-list 'load-path "c:/emacs/site-lisp/packages/mmm-mode-0.4.7") (require 'mmm-mode) (mmm-add-group 'xsql '((xsql-sql :submode sql-mode :front "<xsql:query\[^>\]*>" :back "</xsql:query" ))) (setq mmm-global-mode 'maybe) (add-to-list 'auto-mode-alist '("\\.xsql\\'" . sgml-mode)) (setq mmm-mode-ext-classes-alist '((nil "\\.xsql\\'" xsql))) -- Galen deForest Boyer Sweet dreams and flying machines in pieces on the ground.