all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: pjb@informatimago.com (Pascal J. Bourguignon)
To: help-gnu-emacs@gnu.org
Subject: Re: MuMaMo
Date: Fri, 24 Sep 2010 18:20:59 +0200	[thread overview]
Message-ID: <877hibqfis.fsf@kuiper.lan.informatimago.com> (raw)
In-Reply-To: mailman.3.1285338525.3389.help-gnu-emacs@gnu.org

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/


       reply	other threads:[~2010-09-24 16:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3.1285338525.3389.help-gnu-emacs@gnu.org>
2010-09-24 16:20 ` Pascal J. Bourguignon [this message]
2010-09-24 14:28 MuMaMo Gary
2010-09-24 14:33 ` MuMaMo Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877hibqfis.fsf@kuiper.lan.informatimago.com \
    --to=pjb@informatimago.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.