[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Chicken-users] EOF syntax as Emacs comment?
From: |
Dominique Boucher |
Subject: |
RE: [Chicken-users] EOF syntax as Emacs comment? |
Date: |
Thu, 9 Feb 2006 13:21:47 -0500 |
There is also two-mode-mode.el (just do a search on google). I use it and
find it quite handy.
Dominique
> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
gnu.org] On Behalf Of Graham Fawcett
> Sent: Thursday, February 09, 2006 9:38 AM
> To: Reed Sheridan
> Cc: address@hidden
> Subject: Re: [Chicken-users] EOF syntax as Emacs comment?
>
> On 2/9/06, Reed Sheridan <address@hidden> wrote:
> > Having just given up on this myself, I thought I'd ask if
> anyone out there
> > has managed to make Emacs think that #<<EOF .. EOF is a
> comment? Or failing
> > that, is there at least a way to "comment out" a region so
> that Emacs thinks
> > it's a comment, but Chicken doesn't? The EOF syntax
> doesn't play nicely
> > with paredit mode as is.
>
> 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>")))
>
>
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/chicken-users
>