[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MuMaMo
From: |
Pascal J. Bourguignon |
Subject: |
Re: MuMaMo |
Date: |
Wed, 08 Dec 2010 15:29:41 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Gary <help-gnu-emacs@garydjones.name> writes:
> If I have two major modes, Foo and Bar, how do I set things up using
> MuMaMo to use them both in the same buffer please? I know it's possible
> - see http://www.emacswiki.org/cgi-bin/wiki/MuMaMo - but can't find
> anything describing how to do it.
------------------------------------------------------------------------
-*- mode: mmm;mode:Foo; coding:utf-8 -*-
Foo stuff
{%Bar-mode%}
Bar stuff
{%/Bar-mode%}
Foo stuff
------------------------------------------------------------------------
Of course, if you want to add Baz or Quux stuff, you would just add
sections tagged with {%Baz-mode%} ... {%/Baz-mode%}
or {%Quux-mode%} ... {%/Quux-mode%}.
Notice also that it may be worthwhile to put these tags in Foo comments.
--
__Pascal Bourguignon__ http://www.informatimago.com/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: MuMaMo,
Pascal J. Bourguignon <=