From unknown Sun Aug 17 22:01:40 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#25556 <25556@debbugs.gnu.org> To: bug#25556 <25556@debbugs.gnu.org> Subject: Status: 26.0.50.1; Requiring uncompiled eieio issues obsoletion warnings Reply-To: bug#25556 <25556@debbugs.gnu.org> Date: Mon, 18 Aug 2025 05:01:40 +0000 retitle 25556 26.0.50.1; Requiring uncompiled eieio issues obsoletion warni= ngs reassign 25556 emacs submitter 25556 David Engster severity 25556 minor tag 25556 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 27 15:39:20 2017 Received: (at submit) by debbugs.gnu.org; 27 Jan 2017 20:39:20 +0000 Received: from localhost ([127.0.0.1]:48595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXDIm-0001Y3-2h for submit@debbugs.gnu.org; Fri, 27 Jan 2017 15:39:20 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXDIk-0001Xq-5Z for submit@debbugs.gnu.org; Fri, 27 Jan 2017 15:39:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cXDIe-0004vc-67 for submit@debbugs.gnu.org; Fri, 27 Jan 2017 15:39:12 -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.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42255) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cXDIe-0004vY-3A for submit@debbugs.gnu.org; Fri, 27 Jan 2017 15:39:12 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXDId-0005x4-0b for bug-gnu-emacs@gnu.org; Fri, 27 Jan 2017 15:39:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cXDIY-0004qs-27 for bug-gnu-emacs@gnu.org; Fri, 27 Jan 2017 15:39:11 -0500 Received: from randomsample.de ([5.45.97.173]:38916) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cXDIX-0004qh-Oz for bug-gnu-emacs@gnu.org; Fri, 27 Jan 2017 15:39:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; bh=MIad5a0Rhyb+wGdfhMl0mBzOIwKvrp5VhMG1UhJxzTA=; b=KtrHwvsaC/1h+EpktVtLqxciteXRTlzOiXQB2kwfIaEjHSgkRuwlzt8zxAU9liSLu8V5RD7m3ttfPCpqnJdoJo/9YqVsVqIV4+EKWJq856PFaKCfy6iV+p/DJkBalJ6W; Received: from ip4d16b353.dynamic.kabel-deutschland.de ([77.22.179.83] helo=isaac) by randomsample.de with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1cXDIW-0006x6-2K for bug-gnu-emacs@gnu.org; Fri, 27 Jan 2017 21:39:04 +0100 From: David Engster To: bug-gnu-emacs@gnu.org Subject: 26.0.50.1; Requiring uncompiled eieio issues obsoletion warnings Date: Fri, 27 Jan 2017 21:38:58 +0100 Message-ID: <878tpw1bml.fsf@engster.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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.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: -4.0 (----) I'm currently trying to fix compiler warnings during the CEDET compile in Emacs master, but there's one annoying problem I'm unsure how to fix. Whenever a file does (require 'eieio), and EIEIO is not yet byte-compiled, those two warnings are issued: ../../emacs-lisp/eieio.el: =E2=80=98eieio-object-name-string=E2=80=99 is an= obsolete generic function (as of 25.1); use =E2=80=98eieio-named=E2=80=99 = instead. ../../emacs-lisp/eieio.el: =E2=80=98destructor=E2=80=99 is an obsolete gene= ric function (as of 26.1). Since EIEIO is compiled pretty late, one is flooded with these warnings when compiling Emacs master. The warnings seems to come from the cl-defgeneric for `eieio-object-name-string' and `destructor'. How can this be dealt with? -David From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 28 02:16:05 2017 Received: (at 25556) by debbugs.gnu.org; 28 Jan 2017 07:16:05 +0000 Received: from localhost ([127.0.0.1]:48748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXNEz-0002XX-3L for submit@debbugs.gnu.org; Sat, 28 Jan 2017 02:16:05 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53617) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXNEx-0002Wq-1d for 25556@debbugs.gnu.org; Sat, 28 Jan 2017 02:16:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cXNEm-0006na-S0 for 25556@debbugs.gnu.org; Sat, 28 Jan 2017 02:15:57 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33206) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXNEm-0006nW-OD; Sat, 28 Jan 2017 02:15:52 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1429 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cXNEl-0008Ew-Tw; Sat, 28 Jan 2017 02:15:52 -0500 Date: Sat, 28 Jan 2017 09:15:43 +0200 Message-Id: <83wpdfzmcg.fsf@gnu.org> From: Eli Zaretskii To: David Engster In-reply-to: <878tpw1bml.fsf@engster.org> (message from David Engster on Fri, 27 Jan 2017 21:38:58 +0100) Subject: Re: bug#25556: 26.0.50.1; Requiring uncompiled eieio issues obsoletion warnings References: <878tpw1bml.fsf@engster.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.2 (--------) X-Debbugs-Envelope-To: 25556 Cc: 25556@debbugs.gnu.org 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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.2 (--------) > From: David Engster > Date: Fri, 27 Jan 2017 21:38:58 +0100 > > I'm currently trying to fix compiler warnings during the CEDET compile > in Emacs master, but there's one annoying problem I'm unsure how to > fix. Whenever a file does (require 'eieio), and EIEIO is not yet > byte-compiled, those two warnings are issued: > > ../../emacs-lisp/eieio.el: ‘eieio-object-name-string’ is an obsolete generic function (as of 25.1); use ‘eieio-named’ instead. > ../../emacs-lisp/eieio.el: ‘destructor’ is an obsolete generic function (as of 26.1). > > Since EIEIO is compiled pretty late, one is flooded with these warnings > when compiling Emacs master. The warnings seems to come from the > cl-defgeneric for `eieio-object-name-string' and `destructor'. How can > this be dealt with? Is it possibel to arrange that these files be compiled sooner? We already have some targets for similar purposes in lisp/Makefile. From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 28 03:39:50 2017 Received: (at 25556) by debbugs.gnu.org; 28 Jan 2017 08:39:50 +0000 Received: from localhost ([127.0.0.1]:48776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXOY1-0004TN-RM for submit@debbugs.gnu.org; Sat, 28 Jan 2017 03:39:50 -0500 Received: from randomsample.de ([5.45.97.173]:56688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXOY0-0004TE-90 for 25556@debbugs.gnu.org; Sat, 28 Jan 2017 03:39:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=BfuGK0ytQfR+Lid83mSxHNN4jz6LYiJeMp4MgeguZtk=; b=Omxl8XTGjZ+BhXv7lvJ4Y4DUTUdZfMmcXj/EIrVTfSF467XvdxUdxFHdY8nKpLoGOXHvK94fjqpGKBXbeDnUtxMCYzYOFlYaT9dtsbyYiQfAzDo7bvC7jXXVbxVUeAab; Received: from ip4d16b353.dynamic.kabel-deutschland.de ([77.22.179.83] helo=isaac) by randomsample.de with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1cXOXz-0002Bj-01; Sat, 28 Jan 2017 09:39:47 +0100 From: David Engster To: Eli Zaretskii Subject: Re: bug#25556: 26.0.50.1; Requiring uncompiled eieio issues obsoletion warnings In-Reply-To: <83wpdfzmcg.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 28 Jan 2017 09:15:43 +0200") References: <878tpw1bml.fsf@engster.org> <83wpdfzmcg.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Mail-Copies-To: never Date: Sat, 28 Jan 2017 09:39:42 +0100 Message-ID: <87ziibzigh.fsf@engster.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: 25556 Cc: 25556@debbugs.gnu.org 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: -3.2 (---) Eli Zaretskii writes: >> From: David Engster >> Date: Fri, 27 Jan 2017 21:38:58 +0100 >>=20 > >> I'm currently trying to fix compiler warnings during the CEDET compile >> in Emacs master, but there's one annoying problem I'm unsure how to >> fix. Whenever a file does (require 'eieio), and EIEIO is not yet >> byte-compiled, those two warnings are issued: >>=20 >> ../../emacs-lisp/eieio.el: =E2=80=98eieio-object-name-string=E2=80=99 is= an obsolete >> generic function (as of 25.1); use =E2=80=98eieio-named=E2=80=99 instead. >> ../../emacs-lisp/eieio.el: =E2=80=98destructor=E2=80=99 is an obsolete g= eneric >> function (as of 26.1). >>=20 >> Since EIEIO is compiled pretty late, one is flooded with these warnings >> when compiling Emacs master. The warnings seems to come from the >> cl-defgeneric for `eieio-object-name-string' and `destructor'. How can >> this be dealt with? > > Is it possibel to arrange that these files be compiled sooner? We > already have some targets for similar purposes in lisp/Makefile. I'm sure that's possible, but why does the file that declares those constructs obsolete *itself* throw these warnings? I was hoping that this could be fixed instead. -David From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 28 09:30:36 2017 Received: (at 25556) by debbugs.gnu.org; 28 Jan 2017 14:30:36 +0000 Received: from localhost ([127.0.0.1]:48864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXU1U-0000iN-Iq for submit@debbugs.gnu.org; Sat, 28 Jan 2017 09:30:36 -0500 Received: from mail-io0-f175.google.com ([209.85.223.175]:33364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXU1S-0000i6-Io for 25556@debbugs.gnu.org; Sat, 28 Jan 2017 09:30:35 -0500 Received: by mail-io0-f175.google.com with SMTP id v96so80318730ioi.0 for <25556@debbugs.gnu.org>; Sat, 28 Jan 2017 06:30:34 -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:content-transfer-encoding; bh=x3Oko2e3GimLYjQNuvEqp51bnhvHJSaohGafyu7HbV0=; b=qNPY4jcfeX6T2l6PdSUFazAr2AG87PmuCPWM1OZLwGdUT3McU4SrKcrSDOP3U5NQNy RtvGrPJRSayGQMUNNAq1Xx4EXsCpwQ7EfveyBFHl+Rrwg8K/c8x8BCD0BmTWZuYSGq6R RgL0ehEfAZyHb8TBbqmfbU+boo61SfTgjIg09DzTgRmR6IC6W60wQwSGX1Q7859Qaawj NGtQn2ePqlHI+JznHVCWigkrvuNGU4sKezcGXFloL/BR7H7H0P7aUxCNN+j4d4Y1OD7X M5N9aw32TqEdoBtsgdROyA9Yxo9JJQ6RVxgtCiDtpBAsJM7fPfovYE/3KnW8sJNV7qo2 iqlA== 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 :content-transfer-encoding; bh=x3Oko2e3GimLYjQNuvEqp51bnhvHJSaohGafyu7HbV0=; b=tKydalF3fOAlMVWUkQ0Lhq3aFPDyqNsc6E0RGk7fykVYsbnYTJTgBaeth+ht93R6Ug Q3Uiww0tQj5Csi4Hk7vSMPnz+GieO2pwK1EZ0qWtS0yEQKQU9noD+XWKrEBG7sij+sqM iUY6faXfOe4eDuNThFyYx8L5AMy00B274IZFuiQRG3yBzHsuqW4qgo4YmHtbcwfZb2yL +5XQ/Nhi7cSTgvsdGF9q0AusOtCY/IH72awwZWsKMKjf08ZRpQXj1GPuuI7QsjNVj+Jh TqmxAT2QH2bZvCVklylUtyiz03OspgGe5cNSlzLzj9b2yMabtXolQKBg5d73firy+x0C Gdlg== X-Gm-Message-State: AIkVDXIOrHFl+MtqytDOJGq55DMSI5653jn1ziteQJDt5vKOqxcusEQrSFNROe5/zx3VPg== X-Received: by 10.107.202.135 with SMTP id a129mr12102598iog.129.1485613828876; Sat, 28 Jan 2017 06:30:28 -0800 (PST) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id u63sm5089895ioi.4.2017.01.28.06.30.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 28 Jan 2017 06:30:28 -0800 (PST) From: npostavs@users.sourceforge.net To: Eli Zaretskii Subject: Re: bug#25556: 26.0.50.1; Requiring uncompiled eieio issues obsoletion warnings References: <878tpw1bml.fsf@engster.org> <83wpdfzmcg.fsf@gnu.org> <87ziibzigh.fsf@engster.org> Date: Sat, 28 Jan 2017 09:31:37 -0500 In-Reply-To: <87ziibzigh.fsf@engster.org> (David Engster's message of "Sat, 28 Jan 2017 09:39:42 +0100") Message-ID: <87o9yrs1bq.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: 25556 Cc: 25556@debbugs.gnu.org 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.6 (/) David Engster writes: > Eli Zaretskii writes: >>> From: David Engster >>> Date: Fri, 27 Jan 2017 21:38:58 +0100 >>>=20 >> >>> I'm currently trying to fix compiler warnings during the CEDET compile >>> in Emacs master, but there's one annoying problem I'm unsure how to >>> fix. Whenever a file does (require 'eieio), and EIEIO is not yet >>> byte-compiled, those two warnings are issued: >>>=20 >>> ../../emacs-lisp/eieio.el: =E2=80=98eieio-object-name-string=E2=80=99 i= s an obsolete >>> generic function (as of 25.1); use =E2=80=98eieio-named=E2=80=99 instea= d. >>> ../../emacs-lisp/eieio.el: =E2=80=98destructor=E2=80=99 is an obsolete = generic >>> function (as of 26.1). >>>=20 >>> Since EIEIO is compiled pretty late, one is flooded with these warnings >>> when compiling Emacs master. The warnings seems to come from the >>> cl-defgeneric for `eieio-object-name-string' and `destructor'. How can >>> this be dealt with? >> >> Is it possibel to arrange that these files be compiled sooner? We >> already have some targets for similar purposes in lisp/Makefile. > > I'm sure that's possible, but why does the file that declares those > constructs obsolete *itself* throw these warnings? I was hoping that > this could be fixed instead. I'm not sure about `eieio-object-name-string', but the message about `destructor' is because cl-defgeneric makes the declaration handling code run before the function defining code, so the symbol is declared obsolete before it's defined and the definition itself triggers the obsolete warning. The patch below moves it around and stops the `destructor' warning: --- i/lisp/emacs-lisp/cl-generic.el +++ w/lisp/emacs-lisp/cl-generic.el @@ -226,7 +226,13 @@ cl-defgeneric (when (eq 'setf (car-safe name)) (require 'gv) (setq name (gv-setter (cadr name)))) - `(progn + `(prog1 + (progn + (defalias ',name + (cl-generic-define ',name ',args ',(nreverse options)) + ,(help-add-fundoc-usage doc args)) + ,@(mapcar (lambda (method) `(cl-defmethod ,name ,@method)) + (nreverse methods))) ,@(mapcar (lambda (declaration) (let ((f (cdr (assq (car declaration) defun-declarations-alist)))) @@ -235,12 +241,7 @@ cl-defgeneric (t (message "Warning: Unknown defun property `%S' in= %S" (car declaration) name) nil)))) - (cdr declarations)) - (defalias ',name - (cl-generic-define ',name ',args ',(nreverse options)) - ,(help-add-fundoc-usage doc args)) - ,@(mapcar (lambda (method) `(cl-defmethod ,name ,@method)) - (nreverse methods))))) + (cdr declarations))))) =20 ;;;###autoload (defun cl-generic-define (name args options) From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 28 16:15:24 2017 Received: (at 25556) by debbugs.gnu.org; 28 Jan 2017 21:15:24 +0000 Received: from localhost ([127.0.0.1]:49454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXaLE-0003Fi-CK for submit@debbugs.gnu.org; Sat, 28 Jan 2017 16:15:24 -0500 Received: from randomsample.de ([5.45.97.173]:40465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXaLD-0003FW-7X for 25556@debbugs.gnu.org; Sat, 28 Jan 2017 16:15:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=kYs8gKxRFZP1CJAMhHIcglYxyfJY0lC0CY+hb14UXC4=; b=sAnPwF9aL2u12J5/oluYRARueUyzRN1t9KoVej3h5TKhsl8ETkX71Jgn7vYZffVxquDhgsEZD5apQUI2kWJXFq1cCWBwstNpaUcGGpRXK7YPb0xIz19ur/leOcc9Nc9P; Received: from ip4d16b353.dynamic.kabel-deutschland.de ([77.22.179.83] helo=isaac) by randomsample.de with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1cXaLB-0000OK-IO; Sat, 28 Jan 2017 22:15:21 +0100 From: David Engster To: npostavs@users.sourceforge.net Subject: Re: bug#25556: 26.0.50.1; Requiring uncompiled eieio issues obsoletion warnings In-Reply-To: <87o9yrs1bq.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net's message of "Sat, 28 Jan 2017 09:31:37 -0500") References: <878tpw1bml.fsf@engster.org> <83wpdfzmcg.fsf@gnu.org> <87ziibzigh.fsf@engster.org> <87o9yrs1bq.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Mail-Copies-To: never Date: Sat, 28 Jan 2017 22:15:20 +0100 Message-ID: <87h94izy1j.fsf@engster.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: 25556 Cc: Eli Zaretskii , 25556@debbugs.gnu.org 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: -3.2 (---) 'npostavs' writes: > David Engster writes: > >> Eli Zaretskii writes: >>>> From: David Engster >>>> Date: Fri, 27 Jan 2017 21:38:58 +0100 >>>>=20 >>> >>>> I'm currently trying to fix compiler warnings during the CEDET compile >>>> in Emacs master, but there's one annoying problem I'm unsure how to >>>> fix. Whenever a file does (require 'eieio), and EIEIO is not yet >>>> byte-compiled, those two warnings are issued: >>>>=20 >>>> ../../emacs-lisp/eieio.el: =E2=80=98eieio-object-name-string=E2=80=99 = is an obsolete >>>> generic function (as of 25.1); use =E2=80=98eieio-named=E2=80=99 inste= ad. >>>> ../../emacs-lisp/eieio.el: =E2=80=98destructor=E2=80=99 is an obsolete= generic >>>> function (as of 26.1). >>>>=20 >>>> Since EIEIO is compiled pretty late, one is flooded with these warnings >>>> when compiling Emacs master. The warnings seems to come from the >>>> cl-defgeneric for `eieio-object-name-string' and `destructor'. How can >>>> this be dealt with? >>> >>> Is it possibel to arrange that these files be compiled sooner? We >>> already have some targets for similar purposes in lisp/Makefile. >> >> I'm sure that's possible, but why does the file that declares those >> constructs obsolete *itself* throw these warnings? I was hoping that >> this could be fixed instead. > > I'm not sure about `eieio-object-name-string', but the message about > `destructor' is because cl-defgeneric makes the declaration handling > code run before the function defining code, so the symbol is declared > obsolete before it's defined and the definition itself triggers the > obsolete warning. The patch below moves it around and stops the > `destructor' warning: Thanks for looking into to it, your patch works fine for me. Can this be applied? As for eieio-object-name-string, my guess is that this is caused by declaring it via cl-defgeneric as well as cl-defmethod (the latter even twice: in eieio.el and eieio-base.el). -David From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 29 11:19:27 2017 Received: (at 25556) by debbugs.gnu.org; 29 Jan 2017 16:19:27 +0000 Received: from localhost ([127.0.0.1]:50359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXsCM-000688-VW for submit@debbugs.gnu.org; Sun, 29 Jan 2017 11:19:27 -0500 Received: from mail-it0-f52.google.com ([209.85.214.52]:34190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXsCL-00067v-91 for 25556@debbugs.gnu.org; Sun, 29 Jan 2017 11:19:25 -0500 Received: by mail-it0-f52.google.com with SMTP id k200so17632763itb.1 for <25556@debbugs.gnu.org>; Sun, 29 Jan 2017 08:19:25 -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=edgSImGeIotcu2Ho0cpRHx/VjKIMQgYB5qcmoDRZQ+A=; b=uGHGI9r3f3bSCEor/hzFwKfFDuZ3Upj0WKXWTIH/Y9CWQC6yu+A/pRV0mBGbbkINRh QDDggGa0FXqKTTDKiGoq3uyack9eunjFUYOm574JLcf9G69+FD88cywoI+FsJ+qdWZIG GtUIFgYOvEkPANHM6NwdVoscLFELIKVJZHCqVf/XUxEWYP7JcZz6KuQf3l0JfZpzc6vX p+UWlvDENfKiGugq/CW4NWdKAEa+5+/Soi4liss7LDAg6vsmOXN/eRy+9jOxd0GZMCbB J6cdXdiff16TJQBUugNcBFLoydp4SCwPfhkO+D86XZq89A2QPQf8BcBiiRkHKzS2341f C8Lg== 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=edgSImGeIotcu2Ho0cpRHx/VjKIMQgYB5qcmoDRZQ+A=; b=BGCWmhxaySDAQ41f9PpsiiB2w/5LVux+HoDQAde9inzWaobeYo/oeP1ZL0lto05BSz uX3sZMe7HLLPjVz0MIAcMS/iAkwAS6k/Rkrfl6FMtv7OoV0PHEWl3ICrniV3VzBke7SF QHLexULmAw3eNe/D9LStVzkmvKIJLiCW+sLveZuwJ01OWokLsxfOV3UNHOrftJ6SJIR1 jFbi2ND3/ECxliBqaeUa9y9zCBzPqGZqHTzNakEpHvlXXOwW9wgG/dSrv+2SnpHQUcuS MNleaxxOBcLdMpTi+Ehoo1szwBHjx7troc/YIf45no5cj1Pc3vxiMOWvZkyIheinshbm cBkw== X-Gm-Message-State: AIkVDXJLeBcJ6bvY56XaG4byzYJqaGADgYPmZP2lIJQuRad1t7B076nEK31j8LXsG5CHcg== X-Received: by 10.36.84.148 with SMTP id t142mr12536222ita.90.1485706759819; Sun, 29 Jan 2017 08:19:19 -0800 (PST) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id j74sm6799760iod.44.2017.01.29.08.19.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 29 Jan 2017 08:19:19 -0800 (PST) From: npostavs@users.sourceforge.net To: 25556@debbugs.gnu.org Subject: Re: bug#25556: 26.0.50.1; Requiring uncompiled eieio issues obsoletion warnings References: <878tpw1bml.fsf@engster.org> <83wpdfzmcg.fsf@gnu.org> <87ziibzigh.fsf@engster.org> <87o9yrs1bq.fsf@users.sourceforge.net> <87h94izy1j.fsf@engster.org> Date: Sun, 29 Jan 2017 11:20:27 -0500 In-Reply-To: <87h94izy1j.fsf@engster.org> (David Engster's message of "Sat, 28 Jan 2017 22:15:20 +0100") Message-ID: <87bmupsur8.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 25556 Cc: Eli Zaretskii 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.5 (/) David Engster writes: >> >> I'm not sure about `eieio-object-name-string', but the message about >> `destructor' is because cl-defgeneric makes the declaration handling >> code run before the function defining code, so the symbol is declared >> obsolete before it's defined and the definition itself triggers the >> obsolete warning. The patch below moves it around and stops the >> `destructor' warning: > > Thanks for looking into to it, your patch works fine for me. Can this be > applied? I pushed to master [1: 9bf9463]. 1: 2017-01-29 11:16:06 -0500 9bf94639b8f674d2c7894df35f26f09d0ecc67f5 Don't warn about obsolete defgenerics when defining them From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 29 16:23:44 2017 Received: (at 25556) by debbugs.gnu.org; 29 Jan 2017 21:23:44 +0000 Received: from localhost ([127.0.0.1]:50465 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXwwq-00081U-5O for submit@debbugs.gnu.org; Sun, 29 Jan 2017 16:23:44 -0500 Received: from randomsample.de ([5.45.97.173]:35288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXwwo-00081L-5i for 25556@debbugs.gnu.org; Sun, 29 Jan 2017 16:23:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=uPHcMgMnWF6H1v1TipBFh8l4J4/SRp8WzMJT9pJBB1Y=; b=iK/1ndBsYUvQVDFmcQk/WQAzmPeRx3FGNAZVMb1aLNCdNdmX4z/E5ZablrjeJ3oKHV/toLKJRg6HmM9BN8hTwCJs9cWDgeBUfXvDsmh/Svggur8kUTSOF60asr5c3VPq; Received: from ip4d16b353.dynamic.kabel-deutschland.de ([77.22.179.83] helo=isaac) by randomsample.de with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1cXwwl-0006mw-1m; Sun, 29 Jan 2017 22:23:39 +0100 From: David Engster To: npostavs@users.sourceforge.net Subject: Re: bug#25556: 26.0.50.1; Requiring uncompiled eieio issues obsoletion warnings In-Reply-To: <87bmupsur8.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net's message of "Sun, 29 Jan 2017 11:20:27 -0500") References: <878tpw1bml.fsf@engster.org> <83wpdfzmcg.fsf@gnu.org> <87ziibzigh.fsf@engster.org> <87o9yrs1bq.fsf@users.sourceforge.net> <87h94izy1j.fsf@engster.org> <87bmupsur8.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Mail-Copies-To: never Date: Sun, 29 Jan 2017 22:23:34 +0100 Message-ID: <87zii98srt.fsf@engster.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: 25556 Cc: 25556@debbugs.gnu.org, Stefan Monnier 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: -3.2 (---) 'npostavs' writes: > David Engster writes: > >>> >>> I'm not sure about `eieio-object-name-string', but the message about >>> `destructor' is because cl-defgeneric makes the declaration handling >>> code run before the function defining code, so the symbol is declared >>> obsolete before it's defined and the definition itself triggers the >>> obsolete warning. The patch below moves it around and stops the >>> `destructor' warning: >> >> Thanks for looking into to it, your patch works fine for me. Can this be >> applied? > > I pushed to master [1: 9bf9463]. > > 1: 2017-01-29 11:16:06 -0500 9bf94639b8f674d2c7894df35f26f09d0ecc67f5 > Don't warn about obsolete defgenerics when defining them Thanks! Regarding eieio-object-name-string, the issue is indeed that it is first defined via cl-defgeneric with an obsolete declaration, which in turn means that any (uncompiled) cl-defmethod will issue an obsoletion warning (so in this case twice: for eieio and eieio-named in eieio-base.el). So couldn't we just simply remove the cl-defgeneric for eieio-object-name-string, and use make-obsolete instead? Stefan, what do you think? -David From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 15 21:31:43 2018 Received: (at 25556) by debbugs.gnu.org; 16 Mar 2018 01:31:43 +0000 Received: from localhost ([127.0.0.1]:35565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eweDf-0001gE-3D for submit@debbugs.gnu.org; Thu, 15 Mar 2018 21:31:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34055) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eweDd-0001g1-Gb for 25556@debbugs.gnu.org; Thu, 15 Mar 2018 21:31:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eweDX-00062y-CN for 25556@debbugs.gnu.org; Thu, 15 Mar 2018 21:31:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60622) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eweDX-00062T-8c; Thu, 15 Mar 2018 21:31:35 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1eweDW-0007a1-Fd; Thu, 15 Mar 2018 21:31:34 -0400 From: Glenn Morris To: 25556@debbugs.gnu.org Subject: Re: bug#25556: 26.0.50.1; Requiring uncompiled eieio issues obsoletion warnings References: <878tpw1bml.fsf@engster.org> <83wpdfzmcg.fsf@gnu.org> <87ziibzigh.fsf@engster.org> <87o9yrs1bq.fsf@users.sourceforge.net> <87h94izy1j.fsf@engster.org> <87bmupsur8.fsf@users.sourceforge.net> <87zii98srt.fsf@engster.org> X-Spook: keyhole Port Authority Operation Iraqi Freedom bemd SCUD X-Ran: 334O6hOXaz#]e@JvHhr~%?YPv]bF"4w$d8y"3\D=Vz^VL6>(l?8SNW>3TW.RVi3FHp$D@s X-Hue: red X-Attribution: GM Date: Thu, 15 Mar 2018 21:31:34 -0400 In-Reply-To: <87zii98srt.fsf@engster.org> (David Engster's message of "Sun, 29 Jan 2017 22:23:34 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 25556 Cc: Stefan Monnier , David Engster , npostavs@users.sourceforge.net 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: -5.0 (-----) David Engster wrote: > Regarding eieio-object-name-string, the issue is indeed that it is first > defined via cl-defgeneric with an obsolete declaration, which in turn > means that any (uncompiled) cl-defmethod will issue an obsoletion > warning (so in this case twice: for eieio and eieio-named in > eieio-base.el). > > So couldn't we just simply remove the cl-defgeneric for > eieio-object-name-string, and use make-obsolete instead? > > Stefan, what do you think? Returning to this topic: It seems eieio-object-name-string has been de-obsoleted, but the fact that object-print is now obsolete causes 157 identical warnings when bootstrapping: eieio.el: `object-print' is an obsolete generic function (as of 26.1); use `cl-print-object' instead. Minimal example: rm lisp/emacs-lisp/eieio.elc and byte-compile any file that requires 'eieio. It would be great if cl-defmethod only warned when it was in the file actually being compiled. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 16 02:00:20 2018 Received: (at 25556) by debbugs.gnu.org; 16 Mar 2018 06:00:20 +0000 Received: from localhost ([127.0.0.1]:35665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ewiPc-0003pg-Bz for submit@debbugs.gnu.org; Fri, 16 Mar 2018 02:00:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ewiPb-0003pS-5p for 25556@debbugs.gnu.org; Fri, 16 Mar 2018 02:00:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ewiPV-0007or-1d for 25556@debbugs.gnu.org; Fri, 16 Mar 2018 02:00:13 -0400 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,T_RP_MATCHES_RCVD, UNRESOLVED_TEMPLATE autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ewiPU-0007oR-QC; Fri, 16 Mar 2018 02:00:12 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ewiPS-0003C0-G6; Fri, 16 Mar 2018 02:00:10 -0400 From: Glenn Morris To: 25556@debbugs.gnu.org Subject: Re: bug#25556: 26.0.50.1; Requiring uncompiled eieio issues obsoletion warnings References: <878tpw1bml.fsf@engster.org> <83wpdfzmcg.fsf@gnu.org> <87ziibzigh.fsf@engster.org> <87o9yrs1bq.fsf@users.sourceforge.net> <87h94izy1j.fsf@engster.org> <87bmupsur8.fsf@users.sourceforge.net> <87zii98srt.fsf@engster.org> X-Spook: FARC Domestic Nuclear Detection Office Torreon Al-Qaeda X-Ran: x56~C{!sSs;"rr:5bt!+T^9.~kA`l$GLOx#]a@8>Hf58R+-xKvq!QiFRn%%RXz2[Pm\u|o X-Hue: brightmagenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Fri, 16 Mar 2018 02:00:10 -0400 In-Reply-To: (Glenn Morris's message of "Thu, 15 Mar 2018 21:31:34 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: 25556 Cc: Stefan Monnier , David Engster , npostavs@users.sourceforge.net 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: -4.3 (----) I've suppressed many of these warnings in 419514a. BTW, these warnings don't have a "Warning:" prefix. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 16 08:14:41 2018 Received: (at 25556) by debbugs.gnu.org; 16 Mar 2018 12:14:41 +0000 Received: from localhost ([127.0.0.1]:35806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ewoFt-0001pM-9A for submit@debbugs.gnu.org; Fri, 16 Mar 2018 08:14:41 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:57221) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ewoFs-0001pF-1Y for 25556@debbugs.gnu.org; Fri, 16 Mar 2018 08:14:40 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w2GCEciU030736; Fri, 16 Mar 2018 08:14:38 -0400 Received: by pastel.home (Postfix, from userid 20848) id 0683860529; Fri, 16 Mar 2018 08:14:38 -0400 (EDT) From: Stefan Monnier To: Glenn Morris Subject: Re: bug#25556: 26.0.50.1; Requiring uncompiled eieio issues obsoletion warnings Message-ID: References: <878tpw1bml.fsf@engster.org> <83wpdfzmcg.fsf@gnu.org> <87ziibzigh.fsf@engster.org> <87o9yrs1bq.fsf@users.sourceforge.net> <87h94izy1j.fsf@engster.org> <87bmupsur8.fsf@users.sourceforge.net> <87zii98srt.fsf@engster.org> Date: Fri, 16 Mar 2018 08:14:38 -0400 In-Reply-To: (Glenn Morris's message of "Thu, 15 Mar 2018 21:31:34 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6243=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6243> : inlines <6494> : streams <1781554> : uri <2609218> X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 25556 Cc: 25556@debbugs.gnu.org, David Engster , npostavs@users.sourceforge.net 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: -1.3 (-) > Minimal example: > rm lisp/emacs-lisp/eieio.elc > and byte-compile any file that requires 'eieio. > > It would be great if cl-defmethod only warned when it was in the file > actually being compiled. Indeed that's a bug. The warning should only be emitted if we're compiling a call to the obsolete function or a defmethod for that function. Not sure where the problem is coming from. Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 16 20:42:59 2018 Received: (at 25556) by debbugs.gnu.org; 17 Mar 2018 00:42:59 +0000 Received: from localhost ([127.0.0.1]:37435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ewzw2-00017z-TH for submit@debbugs.gnu.org; Fri, 16 Mar 2018 20:42:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ewzw1-00017m-FS for 25556@debbugs.gnu.org; Fri, 16 Mar 2018 20:42:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ewzvv-0000VO-Ir for 25556@debbugs.gnu.org; Fri, 16 Mar 2018 20:42:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ewzvm-0000GG-Su; Fri, 16 Mar 2018 20:42:42 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ewzvm-0000E2-BE; Fri, 16 Mar 2018 20:42:42 -0400 From: Glenn Morris To: Stefan Monnier Subject: Re: bug#25556: 26.0.50.1; Requiring uncompiled eieio issues obsoletion warnings References: <878tpw1bml.fsf@engster.org> <83wpdfzmcg.fsf@gnu.org> <87ziibzigh.fsf@engster.org> <87o9yrs1bq.fsf@users.sourceforge.net> <87h94izy1j.fsf@engster.org> <87bmupsur8.fsf@users.sourceforge.net> <87zii98srt.fsf@engster.org> X-Spook: EBS Blowpipe IED rs9512c Reyosa Port Authority national X-Ran: '7O9.p=|8i\*3\G7v^|F$3h.m[RcXC1$Uvqlm^7GZA&B7$xGE|?VfD/v X-Hue: white X-Debbugs-No-Ack: yes X-Attribution: GM Date: Fri, 16 Mar 2018 20:42:42 -0400 In-Reply-To: (Stefan Monnier's message of "Fri, 16 Mar 2018 08:14:38 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 25556 Cc: 25556@debbugs.gnu.org, David Engster , npostavs@users.sourceforge.net 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: -5.0 (-----) BTW, looks like the same issue with "obsolete name arg". From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 24 11:26:23 2020 Received: (at 25556) by debbugs.gnu.org; 24 Aug 2020 15:26:23 +0000 Received: from localhost ([127.0.0.1]:58930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAEMZ-0005Je-Ji for submit@debbugs.gnu.org; Mon, 24 Aug 2020 11:26:23 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAEMY-0005JO-2z for 25556@debbugs.gnu.org; Mon, 24 Aug 2020 11:26:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=BlarELJ2NdJaeDSk2/zivhwaClHidTGjiRC6Ia293vw=; b=ezaD3Gehn/QbETlCtNT9Qhv8G3 h55/P/1fwfnr5fuZ99mMWAuWvObuUvrDVLeQzDAjt4gSnlUG6SUEKWyyN1QwVK9ayz9tqSj8zu1Ez walGbj5elsUbqZ/WHMWxa2xwIjuYFbwq3SjK/0MWSkRyRp3P7p+dayqt7CoY9dcR9+ko=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kAEMP-00086K-4g; Mon, 24 Aug 2020 17:26:15 +0200 From: Lars Ingebrigtsen To: David Engster Subject: Re: bug#25556: 26.0.50.1; Requiring uncompiled eieio issues obsoletion warnings References: <878tpw1bml.fsf@engster.org> X-Now-Playing: Joe Jackson's _Blaze of Glory_: "Tomorrow's World" Date: Mon, 24 Aug 2020 17:26:11 +0200 In-Reply-To: <878tpw1bml.fsf@engster.org> (David Engster's message of "Fri, 27 Jan 2017 21:38:58 +0100") Message-ID: <87ft8c83qk.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: David Engster writes: > I'm currently trying to fix compiler warnings during the CEDET compile > in Emacs master, but there's one annoying problem I'm unsure how to > fix. Whenever a file does (require 'eieio), and EIEIO i [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 25556 Cc: 25556@debbugs.gnu.org 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: -1.0 (-) David Engster writes: > I'm currently trying to fix compiler warnings during the CEDET compile > in Emacs master, but there's one annoying problem I'm unsure how to > fix. Whenever a file does (require 'eieio), and EIEIO is not yet > byte-compiled, those two warnings are issued: > > ../../emacs-lisp/eieio.el: =E2=80=98eieio-object-name-string=E2=80=99 is = an obsolete > generic function (as of 25.1); use =E2=80=98eieio-named=E2=80=99 instead. > ../../emacs-lisp/eieio.el: =E2=80=98destructor=E2=80=99 is an obsolete ge= neric > function (as of 26.1). > > Since EIEIO is compiled pretty late, one is flooded with these warnings > when compiling Emacs master. The warnings seems to come from the > cl-defgeneric for `eieio-object-name-string' and `destructor'. How can > this be dealt with? I think all of this was fixed last year, when all the obsolete eieio function calls were rewritten, so I'm closing this bug report. If there's still any issues here, please respond to the debbugs address and we'll reopen the report. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 24 11:26:32 2020 Received: (at control) by debbugs.gnu.org; 24 Aug 2020 15:26:32 +0000 Received: from localhost ([127.0.0.1]:58933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAEMh-0005K4-RO for submit@debbugs.gnu.org; Mon, 24 Aug 2020 11:26:31 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAEMg-0005Jo-Dm for control@debbugs.gnu.org; Mon, 24 Aug 2020 11:26:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=vZlv2xQdLT+uDjMHlsiT+uoPlCw5XP/BxCM9Dp+npz8=; b=Iyl8hzhi14W13BCDPJNpxvzrwb 5wH/146r5SKLQ//dq1BHlHVjZffFLsOV1HIzF3+llEf7sssYS/GGH9SxuqC/JzbZQuJ/bigupmwYK ob673bZDK+zBZ3xM9eq4E5mOszRN2dwvhGP/Eg+6BUZjjn8BBp9TeCooX91Uc2wynOQY=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kAEMY-00086T-La for control@debbugs.gnu.org; Mon, 24 Aug 2020 17:26:24 +0200 Date: Mon, 24 Aug 2020 17:26:21 +0200 Message-Id: <87eenw83qa.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #25556 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 25556 fixed close 25556 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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: -1.0 (-) tags 25556 fixed close 25556 27.1 quit From unknown Sun Aug 17 22:01:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 22 Sep 2020 11:24:09 +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