emacs-devel
[Top][All Lists]
Advanced

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

Re: enriched-mode problems


From: Ralf Angeli
Subject: Re: enriched-mode problems
Date: Wed, 15 Jun 2005 20:30:22 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

* Stefan Monnier (2005-06-15) writes:

>> turning a mode on.  Another possibility could be to recognize mode
>> variables and call the respective mode functions with the given values
>> if they are encountered.
>
> That would be good.

Actually a t value of the variable might have to be mapped to a value
of 1 for the function argument and nil to 0 or -1.

> Especially since it would solve the problem where you
> can't both specify "text-mode" and "flyspell-mode" at the same time (IIRC
> the first mode spec which changes the major mode prevents further mode
> specs from being considered, but placing flyspell-mode before text-mode
> makes no sense since text-mode turns off flylspell-mode).

Hm, upon opening a file with name "test" and the contents

Local Variables:
mode: text
mode: flyspell
End:

both modes are active.

-- 
Ralf





reply via email to

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