From: Miles Bader <miles@lsi.nec.co.jp>
Cc: "Kai Großjohann" <kai.grossjohann@gmx.net>,
"Richard Stallman" <rms@gnu.org>,
emacs-devel@gnu.org
Subject: Re: define-derived-mode again (was: Emacs design question)
Date: 22 Jul 2003 14:06:26 +0900 [thread overview]
Message-ID: <buor84j1771.fsf@mcspd15.ucom.lsi.nec.co.jp> (raw)
In-Reply-To: <200307211451.h6LEpJJH022123@rum.cs.yale.edu>
"Stefan Monnier" <monnier+gnu/emacs@cs.yale.edu> 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
next prev parent reply other threads:[~2003-07-22 5:06 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E19c0Fd-0004sD-DC@fencepost.gnu.org>
[not found] ` <200307141341.h6EDfxEd006523@rum.cs.yale.edu>
2003-07-16 10:31 ` run-mode-hooks Richard Stallman
2003-07-16 12:08 ` Emacs design question (was: run-mode-hooks) Kai Großjohann
2003-07-20 23:07 ` Richard Stallman
2003-07-21 14:51 ` define-derived-mode again (was: Emacs design question) Stefan Monnier
2003-07-22 5:06 ` Miles Bader [this message]
2003-07-23 7:13 ` Richard Stallman
2003-07-23 7:36 ` Miles Bader
2003-07-23 13:27 ` Stefan Monnier
2003-07-24 2:31 ` Miles Bader
2003-07-25 8:00 ` Richard Stallman
2003-07-24 19:59 ` Richard Stallman
2003-07-24 19:58 ` Richard Stallman
2003-07-22 15:12 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=buor84j1771.fsf@mcspd15.ucom.lsi.nec.co.jp \
--to=miles@lsi.nec.co.jp \
--cc=emacs-devel@gnu.org \
--cc=kai.grossjohann@gmx.net \
--cc=miles@gnu.org \
--cc=rms@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.