[Top][All Lists]

[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:12 +0100
User-agent: Mutt/1.5.17 (2007-11-01)

On Sun, Feb 24 2008, Peter Münster wrote:

> I've two problems with two-mode.el:
> 1.) make-local-variable does not work with default-mode and second-modes:
> After (make-local-variable 'default-mode) and
> (make-local-variable 'second-modes) new assignments with setq don't have
> any effect.

Here I'm still looking for any hint.

> 2.) When the current buffer is in two-mode-mode, the cpu usage of emacs is
> 100%.

For this one, I've found the solution: The string of the default-mode must
be exactly the same as indicated in the status-line.

(setq default-mode (list "ConTeXt" 'context-mode))
I got the hight cpu-usage.

But with
(setq default-mode (list "PDFConTeXt-en" 'context-mode))
the problem is solved.

Cheers, Peter


reply via email to

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