emacs-devel
[Top][All Lists]
Advanced

[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: Wed, 10 May 2017 08:00:49 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

> One thing I find unintuitive about nxml-mode is how it derives from
> text-mode.

I don't think it should choose: it should derive from both.


        Stefan


PS: I don't think it can really be done, given the way text-mode and
    prog-mode are currently defined, but we can get closer, e.g. by
    inheriting from both keymaps running both mode hooks, ...




reply via email to

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