From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier <monnier@iro.umontreal.ca> Newsgroups: gmane.emacs.devel Subject: Re: nxml-mode: Derive from prog-mode instead of text-mode Date: Tue, 16 May 2017 17:48:37 -0400 Message-ID: <jwvbmqsbhjq.fsf-monnier+gmane.emacs.devel@gnu.org> 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> <877f1gx5b3.fsf@ericabrahamsen.net> <93458087-0860-4fcd-9628-dfcf2b231a69@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1494980459 20593 195.159.176.226 (17 May 2017 00:20:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 17 May 2017 00:20:59 +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 Wed May 17 02:20:56 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 1dAmhx-0005EU-Ra for ged-emacs-devel@m.gmane.org; Wed, 17 May 2017 02:20:53 +0200 Original-Received: from localhost ([::1]:44671 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 1dAmi3-00056M-Cm for ged-emacs-devel@m.gmane.org; Tue, 16 May 2017 20:20:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <ged-emacs-devel@m.gmane.org>) id 1dAmgn-00055r-Fd for emacs-devel@gnu.org; Tue, 16 May 2017 20:19:42 -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 1dAmgk-0006cm-B5 for emacs-devel@gnu.org; Tue, 16 May 2017 20:19:41 -0400 Original-Received: from [195.159.176.226] (port=60200 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 1dAmgk-0006cN-3n for emacs-devel@gnu.org; Tue, 16 May 2017 20:19:38 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from <ged-emacs-devel@m.gmane.org>) id 1dAkKd-0000K9-9l for emacs-devel@gnu.org; Tue, 16 May 2017 23:48:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:SaWVUwqgjVsXBDPQgT/8PErtBUo= 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:214898 Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/214898> > 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