On Thu, 2002-08-08 at 08:55, Stephen J. Turnbull wrote:
Ville> There's something hairy about autoload cookies with
derived
Ville> modes. An example of this would be php-mode.el from
Ville> prog-modes. The version currently in CVS doesn't work as
Ville> it should out of the box, when doing a "xemacs
Ville> some_file.php" with it, I get:
Yep.
I don't know how this works, exactly, but what you want to do is fix
the autoload support code (not the derived mode support) to extract
that define-derived-mode sexp and do it exactly as you did by hand.
Look for comments/patches by Didier Verna, perhaps, give him a buzz
(didier.verna(a)xemacs.org).
There's a patch at [1] that seems to be the fix for this. It's already
applied to 21.5, but I think it would be good to get this stuff working
on 21.4 too. A downloadable version that applies cleanly to
release-21-4 is at [2]. What do you think, Stephen?
[1] <
http://list-archive.xemacs.org/xemacs-patches/200108/msg00023.html>
[2]
<
http://cvs.xemacs.org/viewcvs.cgi/XEmacs/xemacs/lisp/autoload.el.diff?r1=...
--
\/ille Skyttä
ville.skytta at
xemacs.org