Bug report + patch: add a few missing ;;;###autoload cookies

Mike FABIAN mfabian at suse.de
Wed Jul 5 03:25:14 EDT 2006


"Stephen J. Turnbull" <stephen at xemacs.org> さんは書きました:

> Yuck.  This is a real abuse of the autoload mechanism IMO.  Autoloads
> should be restricted to defined entry points for the module; libraries
> shouldn't be loaded merely to compute a menu item that doesn't even
> get displayed!

[...]

> I guess I'm inclined to put the patch in, but this whole situation
> needs to get revisited.

I felt so too. I especially didn't like the ;;;###autoload cookie I
had to put before the 'eval-and-compile' in print-ps.el.  Only three
variables were needed but this 'eval-and-compile' contains a lot more,
even a "(require 'lpr)". I.e. a lot of stuff is loaded just to compute
that menu.

But I had no better idea than adding these autoload cookies.

-- 
Mike FABIAN   <mfabian at suse.de>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。




More information about the XEmacs-Beta mailing list