unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Peter Münster" <pmlists@free.fr>
To: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
Cc: Emacs Users <help-gnu-emacs@gnu.org>
Subject: Re: two-mode: make-local-variable and cpu consumption
Date: Mon, 3 Mar 2008 21:29:56 +0100	[thread overview]
Message-ID: <20080303202956.GB25919@gaston.couberia.bzh> (raw)
In-Reply-To: <47C4305C.5040002@gmail.com>

On Tue, Feb 26 2008, Lennart Borgman (gmail) wrote:

> Perhaps you want to try MuMaMo:
>
>   http://www.emacswiki.org/cgi-bin/wiki/MuMaMo

Seems to be quite complicated to set up.

With two-mode, I only need to setup default-mode and second-modes:

(setq default-mode (list "PDFConTeXt-en" 'context-mode))
(setq second-modes (list (list "Lua" "\\startlua" "\\stoplua" 'lua-mode)
                         (list "MP" "\\startMP" "\\stopMP" 'metapost-mode)))

Cheers, Peter

-- 
http://pmrb.free.fr/contact/





  reply	other threads:[~2008-03-03 20:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-24 19:25 two-mode: make-local-variable and cpu consumption Peter Münster
2008-02-26 15:29 ` Lennart Borgman (gmail)
2008-03-03 20:29   ` Peter Münster [this message]
2008-03-03 20:37     ` Lennart Borgman (gmail)
2008-03-03 21:36       ` Peter Münster
2008-03-03 23:53         ` Lennart Borgman (gmail)
2008-03-04 10:32           ` Peter Münster
2008-03-04 18:07             ` Lennart Borgman (gmail)
2008-03-03 20:29 ` Peter Münster

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20080303202956.GB25919@gaston.couberia.bzh \
    --to=pmlists@free.fr \
    --cc=help-gnu-emacs@gnu.org \
    --cc=lennart.borgman@gmail.com \
    /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.
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).