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 15:28:37 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

* Lute Kamstra (2005-06-15) writes:

> I've got the same problem with auto-fill sometimes.  I switch that
> mode on with text-mode-hook.  When I visit a text file that has "mode:
> auto-fill", it is effectively turned off.  Maybe we should do
> (some-minor-mode 1) for "mode: some-minor-mode" constructs.

I'd prefer a way where it is possible to define explicitely if the
mode should be turned on or off.  One way could be to let people add a
second value to the "mode:" keyword, e.g. "mode: some-mode 1" for
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.  The latter solution is probably a bit
problematic because people don't expect a function to be called when a
variable is set.

-- 
Ralf





reply via email to

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