> I do not know whether there are a lot of derived modes that do not
> follow the convention.

I know there are several.  Derived modes are pretty common, whereas the use
of define-derived-mode was pretty rare until recently.

W.r.t the code bundled with Emacs, there's often no problem (tho, sometimes
there is, because it's not always trivial to fix the code to use
define-derived-mode), but for the unbundled packages, the change:

2005-05-22  Luc Teirlinck  <[EMAIL PROTECTED]>

        * emacs-lisp/easy-mmode.el (define-global-minor-mode): Use
        `after-change-major-mode-hook' instead of `find-file-hook'.

introduced a bug where (typically) global-font-lock chooses the wrong
keywords (the ones of the parent mode rather than ones of the actual major
mode).


        Stefan


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to