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: Lennart Borgman (gmail)
Subject: Re: two-mode: make-local-variable and cpu consumption
Date: Mon, 03 Mar 2008 21:37:48 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

Yes, it is bit complex. However that is normally nothing you see as a user. But I see it, I am still struggling with some problems with refontification after changes... ;-)

Could you perhaps send me an example of a file with those two modes?


Peter Münster wrote:
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)))

What markup does two-modes expect to see in the buffer then?

Cheers, Peter





reply via email to

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