Katsumi Yamaoka <yamaoka(a)jpl.org> writes:
Hi,
I found a terrible problem in the building of the Gnus CVS under
XEmacs. There is a long line for the function `message-mode' in
the file gnus-load.el which is the same form with message.el as
follows:
(define-derived-mode message-mode text-mode "Message" "Major mode for...
...
...(set (make-local-variable 'indent-tabs-mode) nil) (mml-mode))
If this file is loaded before message.elc, `message-mode-map'
will be pre-defined. So the keys `C-c C-c', etc. won't be
defined even if message.elc is loaded. Otherwise, if the form
uses a macro, it won't be expanded in gnus-load.elc. It should
be an `autoload' form, however, XEmacs' autoload does not handle
`define-derived-mode'.
Here is a patch for the problem. But it is no more than an ad-
hoc solution, it should be fixed in XEmacs, I think.
2001-07-17 Katsumi Yamaoka <yamaoka(a)jpl.org>
* dgnushack.el (dgnushack-make-auto-load): Advise `make-autoload'
to handle `define-derived-mode'.
Thanks for your patch. I'll install it.
ShengHuo