[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nxml-mode: Derive from prog-mode instead of text-mode
From: |
Yuri Khan |
Subject: |
Re: nxml-mode: Derive from prog-mode instead of text-mode |
Date: |
Wed, 17 May 2017 12:13:25 +0700 |
On Wed, May 17, 2017 at 1:19 AM, Drew Adams <address@hidden> wrote:
> it makes no
> sense to derive from special mode just to get the mundane bindings
> for `q', `g', and `h' - providing just `quit-window', `revert-buffer',
> and `describe-mode' hardly makes for a "special" mode.
Derivation is not only a mechanism to get functionality. It is
primarily a mechanism to express facts and relationships.
What makes special-mode special is that ordinary character keys are
divorced from their usual self-insert meaning, instead, they are all
available for commands. And that gives me an idea… does
key-translation-map work if made buffer-local?
- Re: nxml-mode: Derive from prog-mode instead of text-mode, (continued)
- Re: nxml-mode: Derive from prog-mode instead of text-mode, Dmitry Gutov, 2017/05/14
- Re: nxml-mode: Derive from prog-mode instead of text-mode, Tom Tromey, 2017/05/14
- 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, Yuri Khan, 2017/05/16
- 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, Drew Adams, 2017/05/16
- 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, Eric Abrahamsen, 2017/05/16
- RE: nxml-mode: Derive from prog-mode instead of text-mode, Drew Adams, 2017/05/16
- 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,
Yuri Khan <=
- Re: nxml-mode: Derive from prog-mode instead of text-mode, Stefan Monnier, 2017/05/17
- RE: nxml-mode: Derive from prog-mode instead of text-mode, Drew Adams, 2017/05/17
- Re: nxml-mode: Derive from prog-mode instead of text-mode, Yuri Khan, 2017/05/17
- Re: nxml-mode: Derive from prog-mode instead of text-mode, Stefan Monnier, 2017/05/17
- RE: nxml-mode: Derive from prog-mode instead of text-mode, Drew Adams, 2017/05/17
- Re: nxml-mode: Derive from prog-mode instead of text-mode, Stefan Monnier, 2017/05/17
- Re: nxml-mode: Derive from prog-mode instead of text-mode, Johan Bockgård, 2017/05/17
- 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