From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pierre Lorenzon Newsgroups: gmane.emacs.bugs Subject: bug#20801: 25.0.50; (apply 'cl-call-next-method does not work Date: Sat, 13 Jun 2015 19:25:50 +0200 (CEST) Message-ID: <20150613.192550.1849376777435981076.devel@pollock-nageoire.net> References: <20150613.084407.1702105313557142553.devel@pollock-nageoire.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1434216983 7175 80.91.229.3 (13 Jun 2015 17:36:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Jun 2015 17:36:23 +0000 (UTC) Cc: 20801-close@debbugs.gnu.org To: monnier@IRO.UMontreal.CA Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 13 19:36:13 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 1Z3pLo-000056-Fb for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Jun 2015 19:36:12 +0200 Original-Received: from localhost ([::1]:56595 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3pLn-0002sZ-TT for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Jun 2015 13:36:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3pLj-0002sU-V3 for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2015 13:36:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3pLe-00045s-WB for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2015 13:36:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38438) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3pLe-000458-TG for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2015 13:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z3pLe-0004wb-EH for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2015 13:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pierre Lorenzon Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jun 2015 17:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20801 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 20801-done@debbugs.gnu.org id=D20801.143421690718931 (code D ref 20801); Sat, 13 Jun 2015 17:36:02 +0000 Original-Received: (at 20801-close) by debbugs.gnu.org; 13 Jun 2015 17:35:07 +0000 Original-Received: from localhost ([127.0.0.1]:52898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3pKj-0004vG-Vm for submit@debbugs.gnu.org; Sat, 13 Jun 2015 13:35:06 -0400 Original-Received: from smtp08.smtpout.orange.fr ([80.12.242.130]:27452 helo=smtp.smtpout.orange.fr) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3pKg-0004uf-Bc for 20801-close@debbugs.gnu.org; Sat, 13 Jun 2015 13:35:03 -0400 Original-Received: from localhost ([86.212.81.116]) by mwinf5d31 with ME id ftau1q00J2WaoqW03tauYc; Sat, 13 Jun 2015 19:34:55 +0200 X-ME-Helo: localhost X-ME-Date: Sat, 13 Jun 2015 19:34:55 +0200 X-ME-IP: 86.212.81.116 In-Reply-To: X-Mailer: Mew version 6.5 on Emacs 25.0.50 / Mule 6.0 (HANACHIRUSATO) 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:103904 Archived-At: From: Stefan Monnier Subject: Re: bug#20801: 25.0.50; (apply 'cl-call-next-method does not work Date: Sat, 13 Jun 2015 10:18:17 -0400 > 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 OK but 'cl-call-next-method is not better. > usable inside an EIEIO `defmethod'). Also, use #' rather than ' to OK that's the key point : #'cl-call-next-method works fine. Thanks. Pierre > 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