From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: define-derived-mode again (was: Emacs design question) Date: 22 Jul 2003 14:06:26 +0900 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200307141341.h6EDfxEd006523@rum.cs.yale.edu> <84wuei7jye.fsf_-_@lucy.is.informatik.uni-duisburg.de> <200307211451.h6LEpJJH022123@rum.cs.yale.edu> Reply-To: Miles Bader NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1058850424 25588 80.91.224.249 (22 Jul 2003 05:07:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 22 Jul 2003 05:07:04 +0000 (UTC) Cc: =?iso-8859-1?q?Kai_Gro=DFjohann?= , Richard Stallman , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Jul 22 07:06:57 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19epMX-0006dz-00 for ; Tue, 22 Jul 2003 07:06:57 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19epdW-0003Cl-00 for ; Tue, 22 Jul 2003 07:24:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19epNH-0002ZK-Gy for emacs-devel@quimby.gnus.org; Tue, 22 Jul 2003 01:07:43 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19epMx-0002UO-KU for emacs-devel@gnu.org; Tue, 22 Jul 2003 01:07:23 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19epMv-0002QE-Uf for emacs-devel@gnu.org; Tue, 22 Jul 2003 01:07:22 -0400 Original-Received: from tyo202.gate.nec.co.jp ([210.143.35.52]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19epMo-00028r-VR; Tue, 22 Jul 2003 01:07:15 -0400 Original-Received: from mailgate3.nec.co.jp ([10.7.69.186]) by TYO202.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id h6M56lW13339; Tue, 22 Jul 2003 14:06:48 +0900 (JST) Original-Received: from mailsv.nec.co.jp (mailgate52.nec.co.jp [10.7.69.198]) by mailgate3.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id h6M56jQ09974; Tue, 22 Jul 2003 14:06:45 +0900 (JST) Original-Received: from edtmg03.lsi.nec.co.jp ([10.26.16.203]) by mailsv.nec.co.jp (8.11.6/3.7W-MAILSV-NEC) with ESMTP id h6M56WS04623; Tue, 22 Jul 2003 14:06:32 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp (localhost [127.0.0.1]) by edtmg03.lsi.nec.co.jp (8.9.3p2+3.2W/3.7W_EDC_Ver.1.0) with ESMTP id OAA10315; Tue, 22 Jul 2003 14:06:31 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.12.8/8.12.8/EDcg v2.01-mc/1046780839) with ESMTP id h6M56QNH006095; Tue, 22 Jul 2003 14:06:31 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id 44F1D3702; Tue, 22 Jul 2003 14:06:26 +0900 (JST) Original-To: "Stefan Monnier" System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <200307211451.h6LEpJJH022123@rum.cs.yale.edu> Original-Lines: 17 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15665 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15665 "Stefan Monnier" writes: > Many systems that offer inheritence take the view that there is > a single "root" and that you necessarily inherit from somewhere. > That's the reason why it doesn't bother me to say that every major > mode is derived from another. How about: (defalias 'define-major-mode 'define-derived-mode) After all, major modes are major modes, whether derived or not; really I'd think this name would be a bit clearer than the current one, and it's natural enough to use `nil' for PARENT for non-derived modes. -Miles -- 80% of success is just showing up. --Woody Allen