emacs-devel
[Top][All Lists]
Advanced

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

Re: enriched-mode and switching major modes.


From: Richard Stallman
Subject: Re: enriched-mode and switching major modes.
Date: Sun, 05 Sep 2004 13:25:40 -0400

      `enriched-mode' sets
    buffer-local values for these variables, but when the major mode is
    set by `after-find-file', these variables are killed.

It sounds like enriched-mode is called too early.
What is the command that you give?

    One solution is to make Enriched mode into a major mode.  It already
    very much "feels" like one.

    The other solution would be to make all variables that Enriched mode
    needs to set permanent locals.  For `use-hard-newlines' we already
    decided that there was no problem. 

The former is acceptable, but not really nice.  The latter is not
acceptable at all.  So I am looking for some other solution.




reply via email to

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