emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recent attempts at standardizing major mode definitions.


From: Luc Teirlinck
Subject: Re: Recent attempts at standardizing major mode definitions.
Date: Fri, 6 Sep 2002 21:47:49 -0500 (CDT)

To be more precise, I believe define-major-mode's arguments should
include name (required), docstring (optional), :group, syntax-table
(optional or keyword), abbrev-table (optional or keyword), some
keyword inhibiting automatic inclusion of \\{...} in the docstring,and
maybe :keymap and :mode-class keywords.  The abbrev-table argument
should accept a value requesting no abbrev-table.  This is important
for several modes.  If define-derived-mode were redefined like that,
it seems to me that it would be more logical to rename it
define-major-mode and define define-derived-mode as a special case of
it with an extra argument of parent and several keywords pre-plugged in.

Sincerely,

Luc.




reply via email to

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