From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: change in call-next-method Date: Sun, 03 Jan 2016 13:06:11 +0100 Message-ID: <874meudg0c.fsf@igel.home> References: <86poxiki76.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1451822802 29441 80.91.229.3 (3 Jan 2016 12:06:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Jan 2016 12:06:42 +0000 (UTC) Cc: emacs-devel To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 03 13:06:33 2016 Return-path: Envelope-to: ged-emacs-devel@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 1aFhQe-0005MA-L8 for ged-emacs-devel@m.gmane.org; Sun, 03 Jan 2016 13:06:32 +0100 Original-Received: from localhost ([::1]:41375 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFhQe-0006QG-2l for ged-emacs-devel@m.gmane.org; Sun, 03 Jan 2016 07:06:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39856) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFhQR-0006QA-9s for emacs-devel@gnu.org; Sun, 03 Jan 2016 07:06:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFhQO-0004hp-0C for emacs-devel@gnu.org; Sun, 03 Jan 2016 07:06:19 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.10]:34077) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFhQN-0004hf-Q4 for emacs-devel@gnu.org; Sun, 03 Jan 2016 07:06:15 -0500 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3pYJhj3vNLz3hjbp; Sun, 3 Jan 2016 13:06:13 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3pYJhj2MM6zvdWR; Sun, 3 Jan 2016 13:06:13 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id dh0Ys6LOZk-C; Sun, 3 Jan 2016 13:06:12 +0100 (CET) X-Auth-Info: Pvzj+iWTMBWNBhU1E0X2lx8UwbaRxHB44vt4ZTjk868QjLAg6Qk9r+TfyO5Si8Bq Original-Received: from igel.home (ppp-88-217-24-228.dynamic.mnet-online.de [88.217.24.228]) by mail.mnet-online.de (Postfix) with ESMTPA; Sun, 3 Jan 2016 13:06:12 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 1000) id E1FE22C00CD; Sun, 3 Jan 2016 13:06:11 +0100 (CET) X-Yow: Did I do an INCORRECT THING?? In-Reply-To: <86poxiki76.fsf@stephe-leake.org> (Stephen Leake's message of "Sun, 03 Jan 2016 05:37:01 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.18.0.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:197438 Archived-At: Stephen Leake writes: > I'm updating JDEE to Emacs 25. It has several functions like this: > > (cl-defmethod initialize-instance ((this jdee-jddocset) &rest rest) > (apply 'call-next-method rest) > (unless (oref this description) > (oset this :description > (if (oref this jdkp) > (format "JDK %s Javadoc" (oref this version)) > (let ((file (jdee-url-file (oref this url)))) > (if (string-match ".*\\/\\(.*?\\)\\/doc\\/api" file) > (match-string 1 file) > (jdee-url-name (oref this url)))))))) > > This breaks if I just change call-next-method to cl-call-next-method. How do you change it? I think you are supposed to call it as (cl-call-next-method). Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."