[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: enriched-mode and switching major modes.
From: |
Stefan Monnier |
Subject: |
Re: enriched-mode and switching major modes. |
Date: |
Tue, 14 Sep 2004 08:26:50 -0400 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) |
> Even if `kill-all-local-variables' does not kill these variables, the
> major mode can override them. In the case of `indent-line-function',
> most modes that are usually combined with Enriched mode will.
>
> Maybe that one shouldn't be set by Enriched mode.
I obviously agree (since I all but requested it in a previous message).
> Without this particular setting, how easy is it to do that?
> It would not properly update `enriched-old-bindings'.
I lost some of the context, but enriched-old-bindings is (or should be)
permanent-local (at least as long as eriched-mode is).
> Also, while it is unlikely that a major mode would try to override
> `buffer-display-table' or `default-text-properties', the fact remains that
> if `enriched-mode' continues to grow, the danger of one of its variables
> being overridden by the major mode increases.
I wouldn't worry so much about the future: it leads to overengineering.
Also if you look at the past, you'd see that enriched-mode hasn't been
growing that much, so the risk is indeed not as clear as you seem to imply.
Stefan
- Re: enriched-mode and switching major modes., (continued)
- Re: enriched-mode and switching major modes., Luc Teirlinck, 2004/09/11
- Re: enriched-mode and switching major modes., Richard Stallman, 2004/09/13
- Re: enriched-mode and switching major modes., Richard Stallman, 2004/09/12
- Re: enriched-mode and switching major modes., Luc Teirlinck, 2004/09/12
- Re: enriched-mode and switching major modes., Oliver Scholz, 2004/09/12
- Re: enriched-mode and switching major modes., Kim F. Storm, 2004/09/12
- Re: enriched-mode and switching major modes., Luc Teirlinck, 2004/09/12
- Re: enriched-mode and switching major modes., Kim F. Storm, 2004/09/13
- Re: enriched-mode and switching major modes., Richard Stallman, 2004/09/13
- Re: enriched-mode and switching major modes., Luc Teirlinck, 2004/09/13
- Re: enriched-mode and switching major modes.,
Stefan Monnier <=
- Re: enriched-mode and switching major modes., Luc Teirlinck, 2004/09/14
- Re: enriched-mode and switching major modes., Richard Stallman, 2004/09/15
- Re: enriched-mode and switching major modes., Richard Stallman, 2004/09/17
- Re: enriched-mode and switching major modes., Luc Teirlinck, 2004/09/19
Re: enriched-mode and switching major modes., Oliver Scholz, 2004/09/06
- Re: enriched-mode and switching major modes., Alex Schroeder, 2004/09/06
- Re: enriched-mode and switching major modes., Richard Stallman, 2004/09/10
- Re: enriched-mode and switching major modes., Oliver Scholz, 2004/09/10
- Re: enriched-mode and switching major modes., Richard Stallman, 2004/09/13
- Re: enriched-mode and switching major modes., Oliver Scholz, 2004/09/14