From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Eric Abrahamsen <eric@ericabrahamsen.net>
Newsgroups: gmane.emacs.devel
Subject: Re: nxml-mode: Derive from prog-mode instead of text-mode
Date: Tue, 16 May 2017 22:08:32 +0800
Message-ID: <877f1gx5b3.fsf@ericabrahamsen.net>
References: <1494412509.2069441.971865104.0646ACD6@webmail.messagingengine.com>
	<8337ccbrar.fsf@gnu.org>
	<1494439153.1311720.972341016.7C2EC66A@webmail.messagingengine.com>
	<83o9v0a66q.fsf@gnu.org>
	<1494487799.3240345.972964808.43DA610E@webmail.messagingengine.com>
	<CAArVCkR+jKEu49=H9CQ6jfhV890DQGfZgdVw9=R0KuDfEc_zVw@mail.gmail.com>
	<87r2zqvmy9.fsf@pokyo>
	<1494930855.4131543.978121176.7BB5246B@webmail.messagingengine.com>
	<CAP_d_8Wpgyp=3CHcQD36voYa7S-AqH6JAkN3ZXBFofitrQbuFA@mail.gmail.com>
	<jwvfug5dmri.fsf-monnier+gmane.emacs.devel@gnu.org>
	<4165ea59-dc7e-4112-95b8-10b766bf0d52@default>
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: blaine.gmane.org 1494955880 15025 195.159.176.226 (16 May 2017 17:31:20 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Tue, 16 May 2017 17:31:20 +0000 (UTC)
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)
To: emacs-devel@gnu.org
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 16 19:31:16 2017
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Envelope-to: ged-emacs-devel@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1dAgJY-0003mW-K4
	for ged-emacs-devel@m.gmane.org; Tue, 16 May 2017 19:31:16 +0200
Original-Received: from localhost ([::1]:43316 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1dAgJd-0002Ei-VL
	for ged-emacs-devel@m.gmane.org; Tue, 16 May 2017 13:31:21 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46434)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ged-emacs-devel@m.gmane.org>) id 1dAgJX-0002ES-Lr
	for emacs-devel@gnu.org; Tue, 16 May 2017 13:31:16 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <ged-emacs-devel@m.gmane.org>) id 1dAgJU-0003YS-Ix
	for emacs-devel@gnu.org; Tue, 16 May 2017 13:31:15 -0400
Original-Received: from [195.159.176.226] (port=60358 helo=blaine.gmane.org)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <ged-emacs-devel@m.gmane.org>)
	id 1dAgJU-0003Wv-CA
	for emacs-devel@gnu.org; Tue, 16 May 2017 13:31:12 -0400
Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2)
	(envelope-from <ged-emacs-devel@m.gmane.org>) id 1dAd9v-00007D-GX
	for emacs-devel@gnu.org; Tue, 16 May 2017 16:09:07 +0200
X-Injected-Via-Gmane: http://gmane.org/
Original-Lines: 15
Original-X-Complaints-To: usenet@blaine.gmane.org
Cancel-Lock: sha1:j7qLXfrx90FGgXqKuRKutOWWZGs=
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 195.159.176.226
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-devel/>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Original-Sender: "Emacs-devel" <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.devel:214887
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/214887>

Drew Adams <drew.adams@oracle.com> 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...