From unknown Fri Sep 12 09:56:21 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#19620 <19620@debbugs.gnu.org> To: bug#19620 <19620@debbugs.gnu.org> Subject: Status: 25.0.50; Eieio constructor behaviour changed and broke pcache.el Reply-To: bug#19620 <19620@debbugs.gnu.org> Date: Fri, 12 Sep 2025 16:56:21 +0000 retitle 19620 25.0.50; Eieio constructor behaviour changed and broke pcache= .el reassign 19620 emacs submitter 19620 Kirill Ignatiev severity 19620 normal tag 19620 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 16 23:56:17 2015 Received: (at submit) by debbugs.gnu.org; 17 Jan 2015 04:56:17 +0000 Received: from localhost ([127.0.0.1]:59638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YCLQm-0001hN-N7 for submit@debbugs.gnu.org; Fri, 16 Jan 2015 23:56:16 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42143) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YCLQk-0001hA-Qv for submit@debbugs.gnu.org; Fri, 16 Jan 2015 23:56:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YCLQe-0003Fl-LE for submit@debbugs.gnu.org; Fri, 16 Jan 2015 23:56:09 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35217) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCLQe-0003Fg-IG for submit@debbugs.gnu.org; Fri, 16 Jan 2015 23:56:08 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCLQd-0001qc-Md for bug-gnu-emacs@gnu.org; Fri, 16 Jan 2015 23:56:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YCLQc-0003FB-QT for bug-gnu-emacs@gnu.org; Fri, 16 Jan 2015 23:56:07 -0500 Received: from mail-wg0-x236.google.com ([2a00:1450:400c:c00::236]:63070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCLQc-0003F1-Jk for bug-gnu-emacs@gnu.org; Fri, 16 Jan 2015 23:56:06 -0500 Received: by mail-wg0-f54.google.com with SMTP id z12so23643072wgg.13 for ; Fri, 16 Jan 2015 20:56:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=6j4M1AsQJWTdc0ZNVMpUxUKtQITLAeDhx/whFABhsEk=; b=rcBZueWnXLfi7Ay5qea0EX+oNt9r0mOJJmgyXMWJ6eN2nGzRyT2AKRwOpL8KdjO26D tT1tATsCIOPvlfa23gSr5ojYXC3LZYaMukunQZdxPBiJWZm7SAWbdS2fUtoP9tDVr+mj ZYaFZlPoWtTmF7eOmHThKrWq5Hd3NyLzj3gSmKS0Vho1j8hWmfqk0E64OGKnj39en0jq SS8/toBZ+jJOxhsxjHoY0kWKsxqJRZboG8FP8+qrxJiwql4gVWh0K9gYImvQS/XQ3brY uU0EkiVVquEo16ePz81bEF5j6lTBOsE25UpS5pq7AiUi8bbvQxODcbb3rPC2NAFkZak5 N5cQ== MIME-Version: 1.0 X-Received: by 10.180.88.33 with SMTP id bd1mr12740987wib.10.1421470565064; Fri, 16 Jan 2015 20:56:05 -0800 (PST) Received: by 10.27.87.87 with HTTP; Fri, 16 Jan 2015 20:56:05 -0800 (PST) Date: Fri, 16 Jan 2015 23:56:05 -0500 Message-ID: Subject: 25.0.50; Eieio constructor behaviour changed and broke pcache.el From: Kirill Ignatiev To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) The following code (essentially taken from pcache.el) used to work fine until recently (worked fine in 24.4 and in some recent git head), but gives a wrong-number-of-arguments error in current git head: (require 'eieio) (require 'eieio-generic) (defclass testing () ()) (defmethod constructor :static ((x testing) newname &rest args) (message "Constructor") (call-next-method)) (testing "test") I haven't really used eieio, so I can't be sure what went wrong. Emacs used to accept this code and run this without errors, so I assume the code is actually correct. From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 17 00:43:58 2015 Received: (at submit) by debbugs.gnu.org; 17 Jan 2015 05:43:58 +0000 Received: from localhost ([127.0.0.1]:59666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YCMAw-0002uN-98 for submit@debbugs.gnu.org; Sat, 17 Jan 2015 00:43:58 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46851) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YCMAt-0002u8-6i for submit@debbugs.gnu.org; Sat, 17 Jan 2015 00:43:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YCMAm-0008OK-MW for submit@debbugs.gnu.org; Sat, 17 Jan 2015 00:43:49 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_NUMERIC_HELO,T_FSL_HELO_BARE_IP_2 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57303) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCMAm-0008OG-KW for submit@debbugs.gnu.org; Sat, 17 Jan 2015 00:43:48 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48551) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCMAl-0000Mj-EM for bug-gnu-emacs@gnu.org; Sat, 17 Jan 2015 00:43:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YCMAi-0008LW-9q for bug-gnu-emacs@gnu.org; Sat, 17 Jan 2015 00:43:47 -0500 Received: from plane.gmane.org ([80.91.229.3]:33747) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCMAi-0008LK-2Z for bug-gnu-emacs@gnu.org; Sat, 17 Jan 2015 00:43:44 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YCMAe-0002b5-Fs for bug-gnu-emacs@gnu.org; Sat, 17 Jan 2015 06:43:40 +0100 Received: from 37.163.131.242 ([37.163.131.242]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Jan 2015 06:43:40 +0100 Received: from thierry.volpiatto by 37.163.131.242 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Jan 2015 06:43:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Thierry Volpiatto Subject: Re: bug#19620: 25.0.50; Eieio constructor behaviour changed and broke pcache.el Date: Sat, 17 Jan 2015 06:43:27 +0100 Organization: Emacs Helm Lines: 13 Message-ID: <87a91i7yio.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 37.163.131.242 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.51 (gnu/linux) Cancel-Lock: sha1:lWBu3F2Dl/aaw4cpn9JsdTQKaeI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.2 (---) Kirill Ignatiev writes: > The following code (essentially taken from pcache.el) used to work > fine until recently (worked fine in 24.4 and in some recent git head), > but gives a wrong-number-of-arguments error in current git head: You have to recompile all the packages compiled with 24.4 when switching to 25. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 17 01:00:06 2015 Received: (at 19620) by debbugs.gnu.org; 17 Jan 2015 06:00:06 +0000 Received: from localhost ([127.0.0.1]:59670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YCMQY-0003IJ-1L for submit@debbugs.gnu.org; Sat, 17 Jan 2015 01:00:06 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:36116) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YCMQT-0003HC-E2 for 19620@debbugs.gnu.org; Sat, 17 Jan 2015 01:00:03 -0500 Received: by mail-we0-f169.google.com with SMTP id m14so23513217wev.0 for <19620@debbugs.gnu.org>; Fri, 16 Jan 2015 21:59:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=Jsh7o5kE4xYZXFlT/Nt7oWB1pqs5OoUYPE5DNP8znKE=; b=mOGczpP/dk+qJC+woM8iPZ7x+CNycafbRxcAjZ5B50sooyVU5bmo32lBMEvYT8uzum 9v8m0MsazrcQowbZjmy7WbW6lpD+gvrGWLEi5iXsaxfRXlNwdu7vyXk84fREShCShEXR qoCOAXBve1tKg7V4E+Cy9zCZxP5efvhjHbZVqc/T9AUyTPmW/ZZ4HAfSmUtAqm56glJJ 6qOz40NuSb4YIN1pYr1D9dR0J3FifQo0xLbVfIToETFQAyx+/nPv+s6Kc9ya8PL/rMdc rDNptmntQcgs4hHyJ1m2Qo1TgJCdVy1DKtvUVwprtic9l4gm5iuyumFLeELsiOVmxp06 zGTw== MIME-Version: 1.0 X-Received: by 10.194.57.43 with SMTP id f11mr35228364wjq.6.1421474395755; Fri, 16 Jan 2015 21:59:55 -0800 (PST) Received: by 10.27.87.87 with HTTP; Fri, 16 Jan 2015 21:59:55 -0800 (PST) Date: Sat, 17 Jan 2015 00:59:55 -0500 Message-ID: Subject: Re: 25.0.50; Eieio constructor behaviour changed and broke pcache.el From: Kirill Ignatiev To: 19620@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19620 Cc: thierry.volpiatto@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > You have to recompile all the packages compiled with 24.4 when switching to 25. I did recompile pcache while figuring out a reduced test case, but I don't see how that's relevant here. I observe this change of behaviour on this specific test case when starting emacs with -Q and using only the eieio package, which is built-in, so it was compiled when emacs was compiled. That pcache fails because of this is just how I found out that there might be some problem there. From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 17 09:12:36 2015 Received: (at 19620) by debbugs.gnu.org; 17 Jan 2015 14:12:36 +0000 Received: from localhost ([127.0.0.1]:59763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YCU7A-0002sz-2S for submit@debbugs.gnu.org; Sat, 17 Jan 2015 09:12:36 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:35736) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YCU77-0002si-5f for 19620@debbugs.gnu.org; Sat, 17 Jan 2015 09:12:34 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aj8PAOwQflS4rwoL/2dsb2JhbABbgweDYIVawjuCYgQCAoEkFwEBAQEBAXyEAwEBAwFWIwULCzQSFBgNJIhKCdZZAQEBAQEBBAEBAQEBHZBvB4RIBYsBpC6BeIQZIYJ3AQEB X-IPAS-Result: Aj8PAOwQflS4rwoL/2dsb2JhbABbgweDYIVawjuCYgQCAoEkFwEBAQEBAXyEAwEBAwFWIwULCzQSFBgNJIhKCdZZAQEBAQEBBAEBAQEBHZBvB4RIBYsBpC6BeIQZIYJ3AQEB X-IronPort-AV: E=Sophos;i="5.07,502,1413259200"; d="scan'208";a="108059164" Received: from 184-175-10-11.dsl.teksavvy.com (HELO pastel.home) ([184.175.10.11]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 17 Jan 2015 09:12:27 -0500 Received: by pastel.home (Postfix, from userid 20848) id 1DE632214; Sat, 17 Jan 2015 09:12:27 -0500 (EST) From: Stefan Monnier To: Thierry Volpiatto Subject: Re: bug#19620: 25.0.50; Eieio constructor behaviour changed and broke pcache.el Message-ID: References: <87a91i7yio.fsf@gmail.com> Date: Sat, 17 Jan 2015 09:12:27 -0500 In-Reply-To: <87a91i7yio.fsf@gmail.com> (Thierry Volpiatto's message of "Sat, 17 Jan 2015 06:43:27 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 19620 Cc: 19620@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > You have to recompile all the packages compiled with 24.4 when switching > to 25. No, you don't. If you need that it's likely a bug, so don't do it without first reporting the bug, Stefan From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 17 09:43:26 2015 Received: (at 19620) by debbugs.gnu.org; 17 Jan 2015 14:43:27 +0000 Received: from localhost ([127.0.0.1]:59772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YCUb0-0003co-7y for submit@debbugs.gnu.org; Sat, 17 Jan 2015 09:43:26 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:4403) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YCUay-0003ca-9A for 19620@debbugs.gnu.org; Sat, 17 Jan 2015 09:43:24 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aj4PAOwQflS4rwoL/2dsb2JhbABbgweDYIVawjuCYgQCAoEkFwEBAQEBAXyEAwEBBFYjEAs0EhQYDSSIU9ZZAQEBAQEFAQEBAR6QbweESAWLAZIxj3OCCoF4hBkhgncBAQE X-IPAS-Result: Aj4PAOwQflS4rwoL/2dsb2JhbABbgweDYIVawjuCYgQCAoEkFwEBAQEBAXyEAwEBBFYjEAs0EhQYDSSIU9ZZAQEBAQEFAQEBAR6QbweESAWLAZIxj3OCCoF4hBkhgncBAQE X-IronPort-AV: E=Sophos;i="5.07,502,1413259200"; d="scan'208";a="108060221" Received: from 184-175-10-11.dsl.teksavvy.com (HELO pastel.home) ([184.175.10.11]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 17 Jan 2015 09:43:18 -0500 Received: by pastel.home (Postfix, from userid 20848) id 58B982214; Sat, 17 Jan 2015 09:43:18 -0500 (EST) From: Stefan Monnier To: Kirill Ignatiev Subject: Re: bug#19620: 25.0.50; Eieio constructor behaviour changed and broke pcache.el Message-ID: References: Date: Sat, 17 Jan 2015 09:43:18 -0500 In-Reply-To: (Kirill Ignatiev's message of "Fri, 16 Jan 2015 23:56:05 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 19620 Cc: 19620@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > (defmethod constructor :static ((x testing) newname &rest args) > (message "Constructor") > (call-next-method)) Indeed, in Emacs-25, EIEIO's object names have been mostly dropped (with some backward compatibility). In this case, the backward compatibility was broken. Hmm... let me see if we can try to better preserve the backward compatibility here. OK, I installed the patch below which should help. Note that this `newname' argument won't be provided in Emacs-25 if you use `make-instance', so you should try and change your code to use eieio-named objects instead, if you need your objects to have a name. Stefan --- a/lisp/emacs-lisp/eieio.el +++ b/lisp/emacs-lisp/eieio.el @@ -276,12 +276,6 @@ and reference them using the function `class-option'." `(defun ,name (&rest slots) ,(format "Create a new object with name NAME of class type %S." name) - (if (and slots - (let ((x (car slots))) - (or (stringp x) (null x)))) - (funcall (if eieio-backward-compatibility #'ignore #'message) - "Obsolete name %S passed to %S constructor" - (pop slots) ',name)) (apply #'eieio-constructor ',name slots)))))) @@ -656,7 +650,14 @@ SLOTS are the initialization slots used by `shared-initialize'. This static method is called when an object is constructed. It allocates the vector used to represent an EIEIO object, and then calls `shared-initialize' on that object." - (let* ((new-object (copy-sequence (eieio--class-default-object-cache (eieio--class-v class))))) + (let* ((new-object (copy-sequence (eieio--class-default-object-cache + (eieio--class-v class))))) + (if (and slots + (let ((x (car slots))) + (or (stringp x) (null x)))) + (funcall (if eieio-backward-compatibility #'ignore #'message) + "Obsolete name %S passed to %S constructor" + (pop slots) class)) ;; Call the initialize method on the new object with the slots ;; that were passed down to us. (initialize-instance new-object slots) From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 28 21:04:20 2017 Received: (at 19620) by debbugs.gnu.org; 29 Nov 2017 02:04:21 +0000 Received: from localhost ([127.0.0.1]:35401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJrjY-0005cL-LC for submit@debbugs.gnu.org; Tue, 28 Nov 2017 21:04:20 -0500 Received: from mail-it0-f44.google.com ([209.85.214.44]:39300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJrjR-0005bq-D8; Tue, 28 Nov 2017 21:04:15 -0500 Received: by mail-it0-f44.google.com with SMTP id 68so2249146ite.4; Tue, 28 Nov 2017 18:04:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=qHPGO2XPt8Pugqm/aj3B64d0Ur4MFgDSQQHFxm3IobQ=; b=GqP0u4C+Ggd7LrOinH91Czh5bGLUqtibaCJkaRFNqVCa0EIQzgzSfP3RRqjDXNN00H G1bd68LU/XstyyJWqLi1lopvVNQzgx+ecCcwcwifvmmzWooq9Kq/+pTCLXcqZXFLfB4Z 3hx9tzk6BVfjCsK38/DfakFVHFxqFDqwK4cf9eJz3bePIeEQGq/19QEEqtdbSjYL81Sw 4cisP3sGzzsC5dt3EV1LXX6yHITupLq/ArChWPnCzqR+Es5H4aLtCbbg2PR2IJPYYXk4 6G7owpb/+nsepTX31rpnGJY23A3h5Q9LprUb116ujP2IrREmFHvpFEWfDmJAGOcBhkDL ZJqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=qHPGO2XPt8Pugqm/aj3B64d0Ur4MFgDSQQHFxm3IobQ=; b=j1RcixL3eEW0AKmU+FJDTG+uxeqJ8U8ntSKIr/hxuaecSn1TM3fI8Pox602yuh6cyN qkTBNxgkUQ39FfCnag4KqvC4Qdg57pD+0JWBLtHziqAcr5iqU/PVMktnSYbEBODKS4Fm 8tb9MC1nfYu7yjgxvek14zTZNCnVZp3U9RB40d1484kWwMkpdpGATkZwVL9Sk5eDmVlH Eit019dP73/Y6ECE7pesZk8xwovzCdGC6XBb7kewstgX1pmP5GQt6vgnyKuFitIERWxj aQ5XkxcvEMTX3254tts6DoIGH4zr7E6TIwWXqS6ZmRe2tJsA5IQ8fcSvjQheav8J7t3K hGBg== X-Gm-Message-State: AJaThX7BYIJmISqi4cv3G1fbNJUKChb5XleQlaLUWLx8qyEUZcEDjt6f q1Co7ji7bGWpKJxdtfpfdNVuBw== X-Google-Smtp-Source: AGs4zMY91TI5EKavxgHdNUFtmy0fmEw7lRyrIQkuedFiEc8K87gujXuJitGNxkfP9j3oObbZewtGkA== X-Received: by 10.36.57.1 with SMTP id l1mr5424795ita.2.1511921047811; Tue, 28 Nov 2017 18:04:07 -0800 (PST) Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id u66sm293337iod.8.2017.11.28.18.04.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 28 Nov 2017 18:04:06 -0800 (PST) From: Noam Postavsky To: Stefan Monnier Subject: Re: bug#19620: 25.0.50; Eieio constructor behaviour changed and broke pcache.el References: Date: Tue, 28 Nov 2017 21:04:05 -0500 In-Reply-To: (Stefan Monnier's message of "Sat, 17 Jan 2015 09:43:18 -0500") Message-ID: <871skhn8mi.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 19620 Cc: 19620@debbugs.gnu.org, Kirill Ignatiev X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) tags 19620 fixed close 19620 25.1 quit Stefan Monnier writes: >> (defmethod constructor :static ((x testing) newname &rest args) >> (message "Constructor") >> (call-next-method)) > > Indeed, in Emacs-25, EIEIO's object names have been mostly dropped > (with some backward compatibility). In this case, the backward > compatibility was broken. > > Hmm... let me see if we can try to better preserve the backward > compatibility here. OK, I installed the patch below which should help. Seems this was fixed in 25.1 then. From unknown Fri Sep 12 09:56:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 27 Dec 2017 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator