* MuMaMo
@ 2010-09-24 14:28 Gary
2010-09-24 14:33 ` MuMaMo Lennart Borgman
0 siblings, 1 reply; 3+ messages in thread
From: Gary @ 2010-09-24 14:28 UTC (permalink / raw)
To: help-gnu-emacs
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.
--
Gary Please do NOT send me 'courtesy' replies off-list.
GNU Emacs 23.2.1
emacsclient 23.2
1.7.7(0.230/5/3) 2010-08-31 09:58 Cygwin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: MuMaMo
2010-09-24 14:28 MuMaMo Gary
@ 2010-09-24 14:33 ` Lennart Borgman
0 siblings, 0 replies; 3+ messages in thread
From: Lennart Borgman @ 2010-09-24 14:33 UTC (permalink / raw)
To: help-gnu-emacs
On Fri, Sep 24, 2010 at 4:28 PM, Gary <help-gnu-emacs@garydjones.name> wrote:
> 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.
Please look in the file mumamo-fun.el for examples.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: MuMaMo
[not found] <mailman.3.1285338525.3389.help-gnu-emacs@gnu.org>
@ 2010-09-24 16:20 ` Pascal J. Bourguignon
0 siblings, 0 replies; 3+ messages in thread
From: Pascal J. Bourguignon @ 2010-09-24 16:20 UTC (permalink / raw)
To: help-gnu-emacs
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-09-24 16:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.3.1285338525.3389.help-gnu-emacs@gnu.org>
2010-09-24 16:20 ` MuMaMo Pascal J. Bourguignon
2010-09-24 14:28 MuMaMo Gary
2010-09-24 14:33 ` MuMaMo Lennart Borgman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).