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#23947: Regression in EIEIO Date: Tue, 12 Jul 2016 09:06:03 -0400 Message-ID: References: <5783DA94.4090500@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1468328852 13169 80.91.229.3 (12 Jul 2016 13:07:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Jul 2016 13:07:32 +0000 (UTC) Cc: 23947@debbugs.gnu.org To: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 12 15:07:21 2016 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 1bMxPE-0006Cp-5a for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jul 2016 15:07:20 +0200 Original-Received: from localhost ([::1]:40405 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMxPD-00008t-9q for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jul 2016 09:07:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMxP2-00006s-1B for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 09:07:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMxOw-0008Ez-Dp for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 09:07:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35400) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMxOw-0008Ev-AQ for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 09:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bMxOw-0002lJ-2a for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 09:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jul 2016 13:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23947 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23947-submit@debbugs.gnu.org id=B23947.146832878310565 (code B ref 23947); Tue, 12 Jul 2016 13:07:02 +0000 Original-Received: (at 23947) by debbugs.gnu.org; 12 Jul 2016 13:06:23 +0000 Original-Received: from localhost ([127.0.0.1]:47736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMxOD-0002kG-5p for submit@debbugs.gnu.org; Tue, 12 Jul 2016 09:06:22 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:52359) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMxO6-0002jy-2p for 23947@debbugs.gnu.org; Tue, 12 Jul 2016 09:06:15 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AxFgA731xV/3mcpUVcgxCEAoVVu0CHSwQCAoE8OxIBAQEBAQEBgQpBBYNdAQEDAVYjBQsLNBIUGA0kiDcIzyMBAQEBBgEBAQEeizqBPQGDRweELQWLRKd7gUUjYYE2gX0igngBAQE X-IPAS-Result: A0AxFgA731xV/3mcpUVcgxCEAoVVu0CHSwQCAoE8OxIBAQEBAQEBgQpBBYNdAQEDAVYjBQsLNBIUGA0kiDcIzyMBAQEBBgEBAQEeizqBPQGDRweELQWLRKd7gUUjYYE2gX0igngBAQE X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="247571588" Original-Received: from 69-165-156-121.dsl.teksavvy.com (HELO pastel.home) ([69.165.156.121]) by ironport2-out.teksavvy.com with ESMTP; 12 Jul 2016 09:06:04 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 0232E64C36; Tue, 12 Jul 2016 09:06:03 -0400 (EDT) In-Reply-To: <5783DA94.4090500@gmail.com> ("=?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel"'s message of "Mon, 11 Jul 2016 19:42:44 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:120901 Archived-At: >> + (apply code arg (cl--generic-name generic) (cons arg args)))) > Hmm, why does `code' receive `arg' twice? (once as the first arg and > once as the third one) Because that's how EIEIO's `no-applicable-method' was defined. More specifically, it takes (obj method &rest args) where `obj' is the first arg that was passed to the method and `args' is the complete list of arguments that were passed to the method. Stefan