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: Tue, 16 May 2017 17:48:37 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

> Quit (`q') and refresh (`g') - that's all.  Oh, and `h' too - but
> not `?'.

> Like `?', all of the `special-mode' keys besides `q', `g', and `h'
> are inappropriate - Dired uses them for other things.

> Sure, Dired could override those other bindings, but 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.

> And Dired has its own hooks.  I see no reason for Dired to
> respect/use `special-mode-hook'.

So you don't see any use.  That's not a very strong argument against it,
it's just a lack of argument in favor of it.


        Stefan




reply via email to

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