[slime-devel] Re: HACKING
Luke Gorrie
luke at bluetail.com
Wed Dec 17 22:04:18 UTC 2003
Helmut Eller <e9626484 at stud3.tuwien.ac.at> writes:
> I didn't even know about NO-APPLICABLE-METHOD :-). But, I would
> expect that the default implementation is added as method for the
> generic function itself and not to NO-APPLICABLE-METHOD.
The idea of NO-APPLICABLE-METHOD was t'be sure that a "real"
definition would override the default one. Could we do this using
normal methods? (I'm not wise in the ways of CLOS.)
> We could invent a macro like DEFSLIMEGENERIC, or something with a
> shorter name. Probably not a bad idea, because some of the generic
> functions are called in swank.lisp and others by Emacs directly.
Or how about:
(slimefun foo)
(defgeneric foo ....)
(slimefun bar)
(defun bar ....)
More information about the slime-devel
mailing list