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: Eric Abrahamsen
Subject: Re: nxml-mode: Derive from prog-mode instead of text-mode
Date: Tue, 16 May 2017 22:08:32 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Drew Adams <address@hidden> writes:

>> > This probably could be unified, too. The big difference here is modes
>> > that are neither text nor programming — I call them application modes
>> > — such as dired, calendar, or compilation — because they don’t need
>> 
>> These should supposedly derive from special-mode.
>
> Absolutely not, for Dired.  It should not derive from
> special-mode, tabulated-list-mode, or anything else.

I'm curious why not special-mode. My observation of special-mode is that
it handles: 1) quit, 2) refresh, and 3) unbind everything else.

Honest question...




reply via email to

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