From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Mikael Djurfeldt Newsgroups: gmane.lisp.guile.bugs Subject: Re: [PATCH] GOOPS MOP no-method doesn't work Date: Thu, 19 Feb 2004 16:48:34 -0500 Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Message-ID: References: <87brorq513.fsf@alice.rotty.yi.org> Reply-To: djurfeldt@nada.kth.se NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1077227765 29073 80.91.224.253 (19 Feb 2004 21:56:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Feb 2004 21:56:05 +0000 (UTC) Cc: Guile Bugs , djurfeldt@nada.kth.se, mvo@zagadka.ping.de Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Feb 19 22:55:47 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Atw95-0007sv-00 for ; Thu, 19 Feb 2004 22:55:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Atw4q-0001kW-Rc for guile-bugs@m.gmane.org; Thu, 19 Feb 2004 16:51:24 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Atw2p-0000yK-5l for bug-guile@gnu.org; Thu, 19 Feb 2004 16:49:19 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Atw2D-0000ic-Fk for bug-guile@gnu.org; Thu, 19 Feb 2004 16:49:12 -0500 Original-Received: from [213.212.20.77] (helo=kvast.blakulla.net) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Atw2D-0000iX-62 for bug-guile@gnu.org; Thu, 19 Feb 2004 16:48:41 -0500 Original-Received: from chunk.mit.edu ([18.42.2.92] helo=chunk ident=Debian-exim) by kvast.blakulla.net with esmtp (Exim 3.36 #1 (Debian)) id 1Atw29-0003tV-00; Thu, 19 Feb 2004 22:48:37 +0100 Original-Received: from mdj by chunk with local (Exim 4.30) id 1Atw26-0000Oh-PA; Thu, 19 Feb 2004 16:48:34 -0500 Original-To: Andreas Rottmann In-Reply-To: <87brorq513.fsf@alice.rotty.yi.org> (Andreas Rottmann's message of "Sun, 25 Jan 2004 19:03:52 +0100") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for GUILE, GNU's Ubiquitous Extension Language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.bugs:1175 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.bugs:1175 Andreas Rottmann writes: > I noticed that besides that specialization does not work > (see [0], this is apparently related to bugs/goops-apply-generic), the > no-method generic isn't invoked, because the C-based protocol does not > use it at all. Here is an example: Thanks for your patch. However, I think we should deprecate no-method rather than put it in the MOP. It doesn't seem particularly useful to have a function which is called only if you try to invoke a generic which totally lacks methods. I mean---it's such an exotic case. It would be much more useful to have a function which is invoked whenever there aren't any applicable methods for a generic. This is also the choice made in CLOS. M _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://mail.gnu.org/mailman/listinfo/bug-guile