Building packages with 21.4
Stephen J. Turnbull
stephen at xemacs.org
Mon Dec 3 05:29:54 EST 2007
Michael Sperber writes:
>
> Norbert Koch <viteno at xemacs.org> writes:
>
> > I'm not sure whether I like this approach. By this we make the package
> > build dependent of a certain patch level of the stable branch, not the
> > stable branch itself. Up to now it's been possible to build the
> > packages using any stable XEmacs (or later). With this change this is no
> > longer possible.
>
> Looking on the xemacs-patches followups, you can see I don't like it
> much myself---but you can see in autoloads.el that I wasn't the first to
> add package-specific keywords. Doing this right requires making the
> list somehow extensible, and putting the extensions in xemacs-base. I
> doubt this is worth it until the count of keywords reaches, say, 20.
It's worth it to people who have an older XEmacs, though.
How about in autoload.el
;;; Don't add keywords here! Do it in xemacs-base/therightplace.el
(defvar autoload-make-autoload-keywords '(defun ... defmacro))
and in xemacs-base/therightplace.el
;;;###autoload
(progn
(setq autoload-make-autoload-keywords
(append autoload-make-autoload-keywords '(defclass defmethod)))
(put 'defclass 'doc-string-elt 4)
(put 'defmethod 'doc-string-elt 5))
This isn't fully general, but it handles this case at least.
More information about the XEmacs-Beta
mailing list