From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vitalie Spinu Newsgroups: gmane.emacs.bugs Subject: bug#20420: 25.0.50; eieio methods with optional arguments now fail Date: Fri, 24 Apr 2015 21:28:12 +0200 Message-ID: <87d22tpbqr.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1429903763 16895 80.91.229.3 (24 Apr 2015 19:29:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Apr 2015 19:29:23 +0000 (UTC) To: 20420@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 24 21:29: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 1YljHi-0001D5-Pt for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Apr 2015 21:29:10 +0200 Original-Received: from localhost ([::1]:46165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YljHi-0001tY-3E for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Apr 2015 15:29:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YljHe-0001tT-AP for bug-gnu-emacs@gnu.org; Fri, 24 Apr 2015 15:29:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YljHa-00073r-Ch for bug-gnu-emacs@gnu.org; Fri, 24 Apr 2015 15:29:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YljHa-00073f-9k for bug-gnu-emacs@gnu.org; Fri, 24 Apr 2015 15:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YljHZ-0004It-W8 for bug-gnu-emacs@gnu.org; Fri, 24 Apr 2015 15:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vitalie Spinu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Apr 2015 19:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20420 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.142990370916490 (code B ref -1); Fri, 24 Apr 2015 19:29:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Apr 2015 19:28:29 +0000 Original-Received: from localhost ([127.0.0.1]:38994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YljH2-0004Hu-L9 for submit@debbugs.gnu.org; Fri, 24 Apr 2015 15:28:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51762) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YljH0-0004Hh-8v for submit@debbugs.gnu.org; Fri, 24 Apr 2015 15:28:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YljGt-0006Oj-Ix for submit@debbugs.gnu.org; Fri, 24 Apr 2015 15:28:20 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YljGt-0006Od-GA for submit@debbugs.gnu.org; Fri, 24 Apr 2015 15:28:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YljGs-0001sA-Ga for bug-gnu-emacs@gnu.org; Fri, 24 Apr 2015 15:28:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YljGp-0006O4-Ad for bug-gnu-emacs@gnu.org; Fri, 24 Apr 2015 15:28:18 -0400 Original-Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:33386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YljGp-0006Np-40 for bug-gnu-emacs@gnu.org; Fri, 24 Apr 2015 15:28:15 -0400 Original-Received: by wiax7 with SMTP id x7so41757465wia.0 for ; Fri, 24 Apr 2015 12:28:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=onAlOyyqle1OpNCFZB1kz4gSHHwwS/0E+mamPzQAiO4=; b=eUqeYVo2WL9RgShOnef7iAPXtmSqDVcVa4ZHW15A+LJMhAx5vGGDMN6xoPEnrHqJSh U6DUl4kzk8pAPSAsdHIQHlX3Hq2xWQdgJXrUHRQHQKs5bZVxBcOKqxZ6lx+clLd4LMjY ZRdwlax86NXjdRpTtnQWHyIavM8bY1z/BOXZ3QME9R4+FzDfbHIOb6qeE+bS4hZhIoqg fNv/+vYtVHVgfG3BaN7pzt5lWkEJxyvsmgNvuo7B28h6Ooj2CQnEc2wUrfZTAyBYezmI Vp8ObByjQ/vFNWBHz+dy4gkKBRHxsyb2cichVkvZ61Z7jNT3RsBp6UVLWjEVMiCUKa7N IkIg== X-Received: by 10.194.77.44 with SMTP id p12mr18858308wjw.1.1429903693974; Fri, 24 Apr 2015 12:28:13 -0700 (PDT) Original-Received: from localhost (dhcp-077-251-128-242.chello.nl. [77.251.128.242]) by mx.google.com with ESMTPSA id g5sm18126455wjr.19.2015.04.24.12.28.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Apr 2015 12:28:13 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:102003 Archived-At: Hi. First declare: (defclass cc-A () ((a :initform "foo"))) (defgeneric xx (&optional a b)) (defmethod xx () (message "default")) And eval (xx). It works as expected. Now add (defmethod xx ((obj cc-A) &optional b) (message "called on cc-A object")) and eval (xx) again. It throws (wrong-number-of-arguments (1 . &rest) 0). It used to work in emacs 24. Thanks, Vitalie In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2) of 2015-04-13 on galago Repository revision: 30bcb238c3a53f777c2a4952f51a68df6272cff4 Windowing system distributor `The X.Org Foundation', version 11.0.11600000 System Description: Ubuntu 14.10 Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LC_TIME: en_DK.UTF-8 value of $LANG: en_DK.UTF-8 locale-coding-system: utf-8-unix