[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nxml-mode: Derive from prog-mode instead of text-mode
From: |
Tom Tromey |
Subject: |
Re: nxml-mode: Derive from prog-mode instead of text-mode |
Date: |
Sun, 14 May 2017 21:05:50 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
>>>>> "Philipp" == Philipp Stephani <address@hidden> writes:
Philipp> prog-mode is more of an implementation detail than an API.
I don't think that's correct. For example, the emacs manual recommends
it to users:
In particular, if you want to apply a hook function to any
programming language mode, add it to ‘prog-mode-hook’; Prog mode is a
major mode that does little else than to let other major modes inherit
from it, exactly for this purpose.
Tom
- Re: nxml-mode: Derive from prog-mode instead of text-mode, (continued)
- Re: nxml-mode: Derive from prog-mode instead of text-mode, Eli Zaretskii, 2017/05/10
- Re: nxml-mode: Derive from prog-mode instead of text-mode, Jostein Kjønigsen, 2017/05/10
- Re: nxml-mode: Derive from prog-mode instead of text-mode, Eli Zaretskii, 2017/05/10
- Re: nxml-mode: Derive from prog-mode instead of text-mode, Eli Zaretskii, 2017/05/10
- Re: nxml-mode: Derive from prog-mode instead of text-mode, Jostein Kjønigsen, 2017/05/11
- Re: nxml-mode: Derive from prog-mode instead of text-mode, raman, 2017/05/11
- Re: nxml-mode: Derive from prog-mode instead of text-mode, Eli Zaretskii, 2017/05/11
- Re: nxml-mode: Derive from prog-mode instead of text-mode, Eli Zaretskii, 2017/05/11
- Re: nxml-mode: Derive from prog-mode instead of text-mode, Philipp Stephani, 2017/05/14
- 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 <=
- 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, 2017/05/17
- Re: nxml-mode: Derive from prog-mode instead of text-mode, Stefan Monnier, 2017/05/17