[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nxml-mode: Derive from prog-mode instead of text-mode
From: |
Stefan Monnier |
Subject: |
Re: nxml-mode: Derive from prog-mode instead of text-mode |
Date: |
Tue, 16 May 2017 17:50:57 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
> Beware: you are shifting the focus of this discussion from nxml-mode
> and its ilk, which was the original issue, to an almost completely
> unrelated one. There be a lot of unrelated bikeshedding (which
> actually already began).
I think the best option is to create a new structured-text-mode which
inherits from both text-mode and prog-mode (and then have nxml-mode
inherit from that mode).
Those users who want to enable some functionality in text-mode but not
in structured-text-mode can always use (derived-mode-p
'structured-text-mode) in the hook function.
Stefan
- Re: nxml-mode: Derive from prog-mode instead of text-mode, (continued)
- Re: nxml-mode: Derive from prog-mode instead of text-mode, Stefan Monnier, 2017/05/16
- Re: nxml-mode: Derive from prog-mode instead of text-mode, Eli Zaretskii, 2017/05/16
- Re: nxml-mode: Derive from prog-mode instead of text-mode, Jostein Kjønigsen, 2017/05/16
- Re: nxml-mode: Derive from prog-mode instead of text-mode, Jostein Kjønigsen, 2017/05/24
- Re: nxml-mode: Derive from prog-mode instead of text-mode, Jostein Kjønigsen, 2017/05/30
- Re: nxml-mode: Derive from prog-mode instead of text-mode, Stefan Monnier, 2017/05/31
- Re: nxml-mode: Derive from prog-mode instead of text-mode,
Stefan Monnier <=
Re: nxml-mode: Derive from prog-mode instead of text-mode, Rolf Ade, 2017/05/10