help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: two-mode: make-local-variable and cpu consumption


From: Peter Münster
Subject: Re: two-mode: make-local-variable and cpu consumption
Date: Mon, 3 Mar 2008 21:29:56 +0100
User-agent: Mutt/1.5.17 (2007-11-01)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]