From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#20801: 25.0.50; (apply 'cl-call-next-method does not work Date: Sat, 13 Jun 2015 10:18:17 -0400 Message-ID: References: <20150613.084407.1702105313557142553.devel@pollock-nageoire.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1434205162 25751 80.91.229.3 (13 Jun 2015 14:19:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Jun 2015 14:19:22 +0000 (UTC) Cc: 20801-close@debbugs.gnu.org To: Pierre Lorenzon Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 13 16:19:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z3mHA-0005lz-9X for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Jun 2015 16:19:12 +0200 Original-Received: from localhost ([::1]:56101 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3mH9-0005kK-EW for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Jun 2015 10:19:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3mH5-0005kB-8C for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2015 10:19:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3mH1-0003b6-Ti for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2015 10:19:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3mH1-0003b2-QG for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2015 10:19:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z3mH1-0005W7-J1 for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2015 10:19:03 -0400 Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jun 2015 14:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 20801 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Mail-Followup-To: 20801@debbugs.gnu.org, monnier@IRO.UMontreal.CA, devel@pollock-nageoire.net Original-Received: via spool by 20801-done@debbugs.gnu.org id=D20801.143420513421175 (code D ref 20801); Sat, 13 Jun 2015 14:19:02 +0000 Original-Received: (at 20801-close) by debbugs.gnu.org; 13 Jun 2015 14:18:54 +0000 Original-Received: from localhost ([127.0.0.1]:52806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3mGs-0005VN-3H for submit@debbugs.gnu.org; Sat, 13 Jun 2015 10:18:54 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:41470) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3mGp-0005V8-EI; Sat, 13 Jun 2015 10:18:51 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t5DEIH0R000677; Sat, 13 Jun 2015 10:18:17 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 3852BAE0CA; Sat, 13 Jun 2015 10:18:17 -0400 (EDT) In-Reply-To: <20150613.084407.1702105313557142553.devel@pollock-nageoire.net> (Pierre Lorenzon's message of "Sat, 13 Jun 2015 08:44:07 +0200 (CEST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5336=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5336> : inlines <3192> : streams <1454780> : uri <1957960> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:103895 Archived-At: tags 20801 notabug thanks That's a simple bug in your code. `call-next-method' is not a function of cl-defmethod (it's a compatibility function of eieio-compat, IOW only usable inside an EIEIO `defmethod'). Also, use #' rather than ' to quote the function symbol since those function are lexically scoped, which can't work for functions that are quoted with a single quote. > (cl-defmethod say ((this daughter1) > &optional fmt &rest arguments) > (apply 'call-next-method ^^ #'cl- -- Stefan