|
From: | Reed Sheridan |
Subject: | Re: [Chicken-users] EOF syntax as Emacs comment? |
Date: | Thu, 9 Feb 2006 14:22:51 -0600 |
Have you tried about mmm-mode? I'm not an mmm-mode expert, but it
should allow you to tread the EOF block with a different mode.
Here's a sample config from my .emacs file. I use it to add CSS and JS
handling within XHTML files.
(require 'mmm-mode)
(mmm-add-mode-ext-class nil "\\.xml" 'xhtml-css)
(mmm-add-mode-ext-class nil "\\.xml" 'xhtml-js)
(mmm-add-classes
'((xhtml-css
:submode css-mode
:front "type=\"text/css\">"
:back "</style>")
(xhtml-js
:submode c-mode
:front "type=\"text/_javascript_\">"
:back "</script>")))
[Prev in Thread] | Current Thread | [Next in Thread] |