From unknown Wed Jun 18 00:23:57 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#39169 <39169@debbugs.gnu.org> To: bug#39169 <39169@debbugs.gnu.org> Subject: Status: 28.0.50; Confusing obsolete variable warnings in eieio-defclass-autoload Reply-To: bug#39169 <39169@debbugs.gnu.org> Date: Wed, 18 Jun 2025 07:23:57 +0000 retitle 39169 28.0.50; Confusing obsolete variable warnings in eieio-defcla= ss-autoload reassign 39169 emacs submitter 39169 Michael Heerdegen severity 39169 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 18 04:57:30 2020 Received: (at submit) by debbugs.gnu.org; 18 Jan 2020 09:57:31 +0000 Received: from localhost ([127.0.0.1]:40502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iskrC-0001yD-LR for submit@debbugs.gnu.org; Sat, 18 Jan 2020 04:57:30 -0500 Received: from lists.gnu.org ([209.51.188.17]:55390) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iskr8-0001y3-F4 for submit@debbugs.gnu.org; Sat, 18 Jan 2020 04:57:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45273) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iskr7-0008Qo-17 for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2020 04:57:26 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,SPOOFED_FREEMAIL,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iskr5-0005XI-Sx for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2020 04:57:24 -0500 Received: from mout.web.de ([217.72.192.78]:37807) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iskr5-0005Vr-FG for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2020 04:57:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1579341440; bh=FopyG1XHX60vNxkkrd4ivXXoXI/TZLbC13cX+pOiDXs=; h=X-UI-Sender-Class:From:To:Subject:Date; b=UfQ9B95fsA+rgWZR2gOzwKGX2noe9zbVJDUiSBM4j9rcNO2LIoWc51exXIPDWQuuq Jsj3KZgJHmzrYFfEMTmTbdoe6r5f8FSOMZoHDfDEdYgKIoHNlfkxMZ7XCuMHgfSzMc 8XS0fzHwj8poFSyRm7a0EpkaAhbN48Qkn+6RVTwk= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([88.67.106.182]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MZlZK-1jD2Mg2Fbi-00LYIz for ; Sat, 18 Jan 2020 10:57:20 +0100 From: Michael Heerdegen To: bug-gnu-emacs@gnu.org Subject: 28.0.50; Confusing obsolete variable warnings in eieio-defclass-autoload Date: Sat, 18 Jan 2020 10:57:24 +0100 Message-ID: <87tv4txf23.fsf@web.de> MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:OanaoXrmsfiI5+KIDHwr1J0o2IxJOFerYOqY1qagRhVp6ftBnfg qMsb+t+utTtGbqZq1Vi7m3dGkIHoxXEnnzNmnGsCagC97FSWEojK6Sm+ikSoR8qCFdYsTyx vQcDnvsN7p2yjV0+rN16RSkSkW5uyxPboJyb9ZRy/QknGoac5CnFPYSdlcnxAgmHAkrynbt vbFpmldH0kNtKApZDyM1g== X-UI-Out-Filterresults: notjunk:1;V03:K0:5r299NjyfcY=:VdR+WdTfjNPNvoCJU64X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SgdOtO1+4MzxSLemmxsW hpjZ7tyi589OcYmQoK37sw4B+Q8h/XWsEKOvldOmz6uRo8Z2P0EhbbAtTy6gWs4o5T/sRteHJ pLyQDGY8fq4HZtnXkzO7WoqEPQKYhIi1DfN29nyw4vB71FLEQHvKXCMRJShgjL5eC3Sa2Tt0z e51oiHSnLa7WNuy77x977h4tgr6ABMnffQOzF5p5a5F3cf2toZnyv9jLGeow= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.72.192.78 X-Spam-Score: 0.6 (/) 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: -2.4 (--) Hello, I'm currently developing a Gnu Elpa package that makes use of `defclass'. These lines in `eieio-defclass-autoload': #+begin_src emacs-lisp ;; turn this into a usable self-pointing symbol (when eieio-backward-compatibility (set cname cname) (make-obsolete-variable cname (format "use \\='%s instead" cname) "25.1")) #+end_src (and eieio-backward-compatibility defaults to t) lead to the following situation: when I have any class, for example, named `buffer-note', and I have the generated autoloads loaded, whenever I use a variable with the name `buffer-note' (which is a quite natural name for objects of that class), I get tons of warnings saying: | buffer-note.el:136:11:Warning: `buffer-note' is an obsolete | variable (as of 25.1); use 'buffer-note The purpose of these warnings is a backward compatibility one, but it shoots way over target: these warnings prevent me from using the class name as a variable name - I keep renaming variables to prevent these annoying warnings all the time. They are obviously very confusing if you don't know the background internals, unless you really have hit the addressed case (and of course following the instruction is not expedient). And it's hard to get rid of them: because the `make-obsolete-variable' are in the autoloads, not even a file-local eieio-backward-compatibility setting helps. Please reconsider how these warnings are implemented. If no better solution can be found, the warning message should at least be made more meaningful and tell which case it addresses, and there should be a (discoverable!) way to turn off these warnings (file locally). TIA, Michael. In GNU Emacs 28.0.50 (build 23, x86_64-pc-linux-gnu, GTK+ Version 3.24.13, cairo version 1.16.0) of 2020-01-17 built on drachen Repository revision: 4d3ac4cddbe1960f5227d14bd0d357a7b19c1296 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12006000 System Description: Debian GNU/Linux bullseye/sid From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 24 16:55:15 2020 Received: (at 39169) by debbugs.gnu.org; 24 Aug 2020 20:55:15 +0000 Received: from localhost ([127.0.0.1]:59398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAJUp-0001qb-0D for submit@debbugs.gnu.org; Mon, 24 Aug 2020 16:55:15 -0400 Received: from quimby.gnus.org ([95.216.78.240]:33396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAJUn-0001qL-6y for 39169@debbugs.gnu.org; Mon, 24 Aug 2020 16:55:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=JxfLRtwfwfl/EciiQzMxEaIjKRTjV8PHXcGuhE03XlI=; b=Y104iGdv5qBOazjqZcmtazcNet QxXPcRYlNg4lBVq75BHiJba31xJCcWf5hRiILSnEc1j+0g3ycBShkaV+ngryiLgbM7B4KFjAKKRNy TkHxbINZkGLjFgsUMrHuh6JoXHYxft131Nk0fQJgPqQw7fuuSgx7b1K1bdBHqlzJmSBs=; 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 1kAJUd-0003n2-CN; Mon, 24 Aug 2020 22:55:06 +0200 From: Lars Ingebrigtsen To: Michael Heerdegen Subject: Re: bug#39169: 28.0.50; Confusing obsolete variable warnings in eieio-defclass-autoload References: <87tv4txf23.fsf@web.de> X-Now-Playing: Lucy Roleff's _Left Open in a Room_: "A Woman's Worth" Date: Mon, 24 Aug 2020 22:55:01 +0200 In-Reply-To: <87tv4txf23.fsf@web.de> (Michael Heerdegen's message of "Sat, 18 Jan 2020 10:57:24 +0100") Message-ID: <87h7srg3x6.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 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: Michael Heerdegen writes: > I'm currently developing a Gnu Elpa package that makes use of > `defclass'. These lines in `eieio-defclass-autoload': > > #+begin_src emacs-lisp > ;; turn this into a usable self-pointing symbol > ( [...] 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: 39169 Cc: 39169@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: -1.0 (-) Michael Heerdegen writes: > I'm currently developing a Gnu Elpa package that makes use of > `defclass'. These lines in `eieio-defclass-autoload': > > #+begin_src emacs-lisp > ;; turn this into a usable self-pointing symbol > (when eieio-backward-compatibility > (set cname cname) > (make-obsolete-variable cname (format "use \\='%s instead" cname) > "25.1")) > #+end_src > > (and eieio-backward-compatibility defaults to t) lead to the following > situation: when I have any class, for example, named `buffer-note', and > I have the generated autoloads loaded, whenever I use a variable with > the name `buffer-note' (which is a quite natural name for objects of > that class), I get tons of warnings saying: > > | buffer-note.el:136:11:Warning: `buffer-note' is an obsolete > | variable (as of 25.1); use 'buffer-note > > The purpose of these warnings is a backward compatibility one, but it > shoots way over target: these warnings prevent me from using the class > name as a variable name - I keep renaming variables to prevent these > annoying warnings all the time. Yes, that does sound annoying. eieio got a lot of warnings during the conversion to more normal cl-* functions the other year, so it made sense to add warnings like this during the rewrite. But that's done now, so perhaps it makes sense to remove these over-enthusiastic warnings now? Stefan? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 24 22:12:23 2020 Received: (at 39169) by debbugs.gnu.org; 25 Aug 2020 02:12:23 +0000 Received: from localhost ([127.0.0.1]:59688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAORj-0005Ux-4X for submit@debbugs.gnu.org; Mon, 24 Aug 2020 22:12:23 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:30142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAORi-0005Ul-9t for 39169@debbugs.gnu.org; Mon, 24 Aug 2020 22:12:22 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id AD80980BAF; Mon, 24 Aug 2020 22:12:16 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id A7CDD8084A; Mon, 24 Aug 2020 22:12:14 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1598321534; bh=oZ0p9E3SgCIjN8Q/5zBWsx/4Pij3A35inYDumiQxhE8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=YIyjUqjX38k71k8gPQaJSDLBEkER9+GdzYIAwOJ6r4217HixP3iWumADAuffgyLx3 dXj997Dy8buOsDwaK1F4SLj35q4cSWJD3HduBvtcxT31fvhXyozbXik854vuPkPC4L TR7kPG6vCIvGmlOFCQ/Esiv/pxXmnRC39bhuaK1ASU7lj0t6zU0RKRAQ62FDOJcvKh TjUn9uiX1ykDE9LiIhcOUtxjxPnJqlGIB6f2F19yu0XKpzworYqfn8pxWnEEU/XDfx ActNK8z6DcpjwjF4ggu2ij+eZGfmEdsAzvk/IkHkPR4iSA5gnl/6+yldct5P54Nwq/ VlLjWWgnEGCyw== Received: from alfajor (unknown [45.72.246.108]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 6A43E1203CF; Mon, 24 Aug 2020 22:12:14 -0400 (EDT) From: Stefan Monnier To: Lars Ingebrigtsen Subject: Re: bug#39169: 28.0.50; Confusing obsolete variable warnings in eieio-defclass-autoload Message-ID: References: <87tv4txf23.fsf@web.de> <87h7srg3x6.fsf@gnus.org> Date: Mon, 24 Aug 2020 22:12:13 -0400 In-Reply-To: <87h7srg3x6.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 24 Aug 2020 22:55:01 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.061 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39169 Cc: Michael Heerdegen , 39169@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.3 (---) >> I'm currently developing a Gnu Elpa package that makes use of >> `defclass'. These lines in `eieio-defclass-autoload': >> >> #+begin_src emacs-lisp >> ;; turn this into a usable self-pointing symbol >> (when eieio-backward-compatibility >> (set cname cname) >> (make-obsolete-variable cname (format "use \\='%s instead" cname) >> "25.1")) >> #+end_src >> >> (and eieio-backward-compatibility defaults to t) lead to the following >> situation: when I have any class, for example, named `buffer-note', and >> I have the generated autoloads loaded, whenever I use a variable with >> the name `buffer-note' (which is a quite natural name for objects of >> that class), I get tons of warnings saying: >> >> | buffer-note.el:136:11:Warning: `buffer-note' is an obsolete >> | variable (as of 25.1); use 'buffer-note >> >> The purpose of these warnings is a backward compatibility one, but it >> shoots way over target: these warnings prevent me from using the class >> name as a variable name - I keep renaming variables to prevent these >> annoying warnings all the time. Indeed that happens when you re-use the identifier `buffer-note` which has a global binding and our obsolescence warning doesn't know how to distinguish local bindings from global bindings. But you could set `eieio-backward-compatibility` to nil. > Yes, that does sound annoying. eieio got a lot of warnings during the > conversion to more normal cl-* functions the other year, so it made > sense to add warnings like this during the rewrite. But that's done > now, so perhaps it makes sense to remove these over-enthusiastic > warnings now? Stefan? You mean we should change the default of `eieio-backward-compatibility` to nil? Maybe you're right. We're currently removing things that were made obsolete in Emacs-23, whereas those were made obsolete in Emacs-25, but setting that var to nil is not as drastic as removing those vars and functions, so it's probably OK to do it already. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 25 16:05:41 2020 Received: (at 39169) by debbugs.gnu.org; 25 Aug 2020 20:05:41 +0000 Received: from localhost ([127.0.0.1]:36197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAfCO-0002O8-QW for submit@debbugs.gnu.org; Tue, 25 Aug 2020 16:05:41 -0400 Received: from quimby.gnus.org ([95.216.78.240]:46192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAfCN-0002Nw-1u for 39169@debbugs.gnu.org; Tue, 25 Aug 2020 16:05:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=CAA99m3wBGTPSGsK+smR5jXjXBllW4Insl5pP/7zU1c=; b=mfnkqYWfWhSIaZmTZJeAtWE96R hfgEk1uD1TOeWfkprWOPD3UNE3vixxrzmKSkdyrTWpS1jByahR0bnKiF/G1LgsnAY2ZN/JZkprpnU Q6HMV4X9jL/5s4JlJDQiYRqsezgviinxSVdOCPce0MaZlXsa+/ngSWIcKeYl01W7uSqo=; 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 1kAfCD-0001c6-9B; Tue, 25 Aug 2020 22:05:31 +0200 From: Lars Ingebrigtsen To: Stefan Monnier Subject: Re: bug#39169: 28.0.50; Confusing obsolete variable warnings in eieio-defclass-autoload References: <87tv4txf23.fsf@web.de> <87h7srg3x6.fsf@gnus.org> X-Now-Playing: Tuxedomoon's _Live in San Francisco (1979)_: "Pinheads On The Move" Date: Tue, 25 Aug 2020 22:05:26 +0200 In-Reply-To: (Stefan Monnier's message of "Mon, 24 Aug 2020 22:12:13 -0400") Message-ID: <87bliy4hkp.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 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: Stefan Monnier writes: > You mean we should change the default of `eieio-backward-compatibility` > to nil? No, I meant removing the warning, since we no longer have any in-tree usage of this stuff (I think). 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: 39169 Cc: Michael Heerdegen , 39169@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 (-) Stefan Monnier writes: > You mean we should change the default of `eieio-backward-compatibility` > to nil? No, I meant removing the warning, since we no longer have any in-tree usage of this stuff (I think). > Maybe you're right. > > We're currently removing things that were made obsolete in Emacs-23, > whereas those were made obsolete in Emacs-25, but setting that var to > nil is not as drastic as removing those vars and functions, so it's > probably OK to do it already. Hm... it does sound a bit drastic... But now I'm wondering why Michael isn't just setting/binding eieio-backward-compatibility to nil? Then the warnings would go away, and he probably aren't using the compat symbols, anyway? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 25 16:07:30 2020 Received: (at 39169) by debbugs.gnu.org; 25 Aug 2020 20:07:30 +0000 Received: from localhost ([127.0.0.1]:36201 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAfEA-0002R2-6T for submit@debbugs.gnu.org; Tue, 25 Aug 2020 16:07:30 -0400 Received: from quimby.gnus.org ([95.216.78.240]:46212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAfE8-0002Qn-Bu for 39169@debbugs.gnu.org; Tue, 25 Aug 2020 16:07:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=I/CVdx1AW6nj2LIgrVSQJy3t6biC8de6rMYdx1GAbDA=; b=HgD3DVW7JzcRRvEygomRO76bjc 5/9ckcbEdx2xxuTud6l+5hyMly4zZQxS87yqpzkllycPSLsi5zttAR9p4VWm2HkmyWZRvxzDoHnqZ RgRl3dDOHn4Qpm1hszrX61iNaN/7UX5c+/biDYWjNBuB5N6sPyI5lDMPu7gw6wu4FV54=; 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 1kAfE0-0001ck-2O; Tue, 25 Aug 2020 22:07:22 +0200 From: Lars Ingebrigtsen To: Stefan Monnier Subject: Re: bug#39169: 28.0.50; Confusing obsolete variable warnings in eieio-defclass-autoload References: <87tv4txf23.fsf@web.de> <87h7srg3x6.fsf@gnus.org> <87bliy4hkp.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEUJBwt8fIBcWV7B wMMqHCBbCw6XDhH////N3kznAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+QIGRQGJsMYiTcAAAGmSURB VDjLjZNNkqMwDIUVIrNO2jlAfrr3EHMAVSJYM1Nx1l4E3/8IIxs8YKipGm0o/PGeZEkAjLH7qukY gyALRAaOMZ8p6i1YYeOrKHBUlYPzg6dB9QDDuxuUK4dR4d0gigi8L1k55RLwZJWfgHw/AwdWvUfQ UWkT6J1Lik/XQZcUZf+RLKWy/gWu7Py7SwroLfUK2bbQq/ZlFfbwH6HNt2n0pTEmO24F3E2tTWXM eQl8r/f3KoJdBpwojiM4ZVYfAbcR1FnTB6efRoCuDGcg5DDVXT+rvKiQvLgcznq/Ti73ODFTAGYN apmtfjbmazV0QBk3IxFumiJW4XHdANmTIPv+F6AtuM5+sz9Me7UBFDcteNHKnynuH142AKBJphkg wOav6xoQE+ULDw/5DJsHMdxwARgKaSlWD7qCXtxx+h2wKfhKGZhkp3BW510pzkQQEq/B7iBVET8i WNa7PwcvRgwAciAHKBM8YnbBJ6XaOO+JgDCmk1SYg1vsXnGAqfuzYgLrFVGv6FD8iN1rCdrfbK1t f/1Yq6xdEo1hDvsDr7MfMV0zxR+zC2Cw1nLjhwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0wOC0y NVQyMDowNjozOCswMDowMPpIy8gAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMDgtMjVUMjA6MDY6 MzgrMDA6MDCLFXN0AAAAAElFTkSuQmCC X-Now-Playing: The Residents's _Metal, Meat & Bone (1)_: "DIE! DIE! DIE!" Date: Tue, 25 Aug 2020 22:07:18 +0200 In-Reply-To: <87bliy4hkp.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 25 Aug 2020 22:05:26 +0200") Message-ID: <877dtm4hhl.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 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: Lars Ingebrigtsen writes: > Hm... it does sound a bit drastic... But now I'm wondering why Michael > isn't just setting/binding eieio-backward-compatibility to nil? Then > the warnings would go away, and he probably aren't usi [...] 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: 39169 Cc: Michael Heerdegen , 39169@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 (-) Lars Ingebrigtsen writes: > Hm... it does sound a bit drastic... But now I'm wondering why Michael > isn't just setting/binding eieio-backward-compatibility to nil? Then > the warnings would go away, and he probably aren't using the compat > symbols, anyway? ^ | Insert grammer here ----------------------------- -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 26 11:31:11 2020 Received: (at 39169) by debbugs.gnu.org; 26 Aug 2020 15:31:11 +0000 Received: from localhost ([127.0.0.1]:40479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAxOJ-0001Zd-6n for submit@debbugs.gnu.org; Wed, 26 Aug 2020 11:31:11 -0400 Received: from mout.web.de ([212.227.15.4]:48763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAxOE-0001Z6-N7 for 39169@debbugs.gnu.org; Wed, 26 Aug 2020 11:31:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1598455858; bh=zAumcuilHsakVkFaPbWxWv612o/KW2chAQKWAKfKrsA=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=e50RbB9L6qgzFzMf5pzgAD0CYOkHW1AG95AjWTABsPJr2BtHoGMtlqwPw+zeoPGxt cZm84m75XcZVl5o41tfriaUhQwwm3HA9rhq8EueR7qGDv8V7nbULj2R/K9PcEOGlkP 5gBCBP6mgjK8lFjtpAvLIzoqtMUNU5ZP73qPpBeE= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([87.174.88.34]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1Mae3q-1klg7M0EcU-00cBEt; Wed, 26 Aug 2020 17:30:58 +0200 From: Michael Heerdegen To: Lars Ingebrigtsen Subject: Re: bug#39169: 28.0.50; Confusing obsolete variable warnings in eieio-defclass-autoload References: <87tv4txf23.fsf@web.de> <87h7srg3x6.fsf@gnus.org> <87bliy4hkp.fsf@gnus.org> Date: Wed, 26 Aug 2020 17:30:56 +0200 In-Reply-To: <87bliy4hkp.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 25 Aug 2020 22:05:26 +0200") Message-ID: <871rjt5sr3.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:ccS8isB6F1fJgHlB4s7PZXaherw3BaNsrtul7YCTHjM7keCvH0K PogSZgTTtCliqSaNZNsSpHNNK0AYQ43Ufgaoixy8Y8Bej6zTEt2T6yxf3/X1o5B1gYiKbmM T0BFdufI8dlf/BfzylX+5FHDcGEy9Lo3+3GI/9iQmbRC50wbR1u04QeSYSwSXIXdQCa5rqs V9ebmBpboEG6bwOSgnHWQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:FLWjOcpwefQ=:s6pHnZmppXzqbXBF1GhkDH hmcIsFgFGOBw/GNKZJDknsyKdISPO/MgNziH5nCEZHr6lr23rF5aTMTRRANn0NMsuzwVOTM7U WqYlOnG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2t7y/F6dMjGDjTfq88Kwf4Yc7S aAFzQ8elATqJj6f4Gik3BVCf1+Y497SLFmlHY4LNS324xXJIjs2C0T9xFjxkiNz8B80vvPL49 1AE4TXv4KmG+hb2Xc8/F9utOCFZntyv72mnLOcg== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39169 Cc: 39169@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: -1.7 (-) Lars Ingebrigtsen writes: > But now I'm wondering why Michael isn't just setting/binding > eieio-backward-compatibility to nil? Then the warnings would go away, > and he probably aren't using the compat symbols, anyway? AFAIR, the situation is: I can do that file locally in my library, yes. But any user of the library will still see those warnings. It's likely that this user uses the name "buffer-note" for a buffer-note, and the warning text is meaningless for anybody who doesn't know what's going on. Michael. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 27 09:34:54 2020 Received: (at 39169) by debbugs.gnu.org; 27 Aug 2020 13:34:54 +0000 Received: from localhost ([127.0.0.1]:42145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBI3K-0002Ug-6q for submit@debbugs.gnu.org; Thu, 27 Aug 2020 09:34:54 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37868) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBI3I-0002UQ-L2 for 39169@debbugs.gnu.org; Thu, 27 Aug 2020 09:34:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=aRPSNjq0ew26NqD+QfZYYD5QdHa23yKBHdo0lOn9Uf8=; b=ZpAwNTzDUYBeR08oH0V/F+Tqc7 kCF5mZEd4polAYoeEiW5slb555zn2CMDAXzlho5c/9WvOKwSJl4A6VnKbLzicx2hleEuSjKU8CMjz lZOReIJCg74X2+R0jKMXgaq2gxGFdGMEo6nWa7RvqdlkKikWuemvhD8lYORu+huzW6is=; 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 1kBI39-00039p-Hb; Thu, 27 Aug 2020 15:34:46 +0200 From: Lars Ingebrigtsen To: Michael Heerdegen Subject: Re: bug#39169: 28.0.50; Confusing obsolete variable warnings in eieio-defclass-autoload References: <87tv4txf23.fsf@web.de> <87h7srg3x6.fsf@gnus.org> <87bliy4hkp.fsf@gnus.org> <871rjt5sr3.fsf@web.de> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEXFuZpoXF3Am2OU cEH///9sZGuXAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+QIGww7AMPBfjcAAAFxSURBVDjLtZPrkcMw CISxKgimAT0aCNB/b7cgJbY8dz9Pk5kkfGYXEKaD6EV/nL/AQf8GClEt/cLv78/eS+/fko7XJzrP F+g5dcoDFBWqCSoloz59DpePM9RqAHzhnyrXeLjQ0krg5upq8XBZFVQy7y4qrgxQIhlyEziAM/O5 HBIQufhgWWCdmsChkkdmrEQCACMu+CwwW69oCQGHkMhYcyvZRQBPIesT1NUlgKZSH9ekaQIPqTOU HyCMlbUZn+22GBl39sbtre11AQ0iYk1aP5QvEFFkKI5xO25SLuHAOk54lJuUex+CEecK3EpGsYaK zWuAegcGBza3viWEFIpVeReiDXjMHXPMi733jpjHOEZe3gOU9eQTWLdI6mUDUW74WI0l2TPG8Gm0 AYQGmiixa+Uh5dFd3OkOJIXM1hJfAIMaUqf8BrC2yGJ+1hsN5jaqPIYoc1gyJ3P3iPlmnm0AFy6/ AiQgqtPpAdaN4G17X+4/4FBLfdXAE18AAAAldEVYdGRhdGU6Y3JlYXRlADIwMjAtMDgtMjdUMTI6 NTg6NTkrMDA6MDBuU+D5AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIwLTA4LTI3VDEyOjU4OjU5KzAw OjAwHw5YRQAAAABJRU5ErkJggg== X-Now-Playing: Jim Black Trio's _Reckon_: "Dancy Clear Ends" Date: Thu, 27 Aug 2020 15:34:42 +0200 In-Reply-To: <871rjt5sr3.fsf@web.de> (Michael Heerdegen's message of "Wed, 26 Aug 2020 17:30:56 +0200") Message-ID: <87h7sow6tp.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 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: Michael Heerdegen writes: > Lars Ingebrigtsen writes: > >> But now I'm wondering why Michael isn't just setting/binding >> eieio-backward-compatibility to nil? Then the warnings would go away, >> and he probab [...] 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: 39169 Cc: 39169@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: -1.0 (-) Michael Heerdegen writes: > Lars Ingebrigtsen writes: > >> But now I'm wondering why Michael isn't just setting/binding >> eieio-backward-compatibility to nil? Then the warnings would go away, >> and he probably aren't using the compat symbols, anyway? > > AFAIR, the situation is: I can do that file locally in my library, yes. > > But any user of the library will still see those warnings. It's likely > that this user uses the name "buffer-note" for a buffer-note, and the > warning text is meaningless for anybody who doesn't know what's going > on. OK, but then I think the right thing here is just to punt further, to that user of the library. :-) If they don't want warnings about these obsolete compat variables, then they are the ones that should set eieio-backward-compatibility to nil? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 27 11:07:47 2020 Received: (at 39169) by debbugs.gnu.org; 27 Aug 2020 15:07:47 +0000 Received: from localhost ([127.0.0.1]:43622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBJVD-0007Nu-5r for submit@debbugs.gnu.org; Thu, 27 Aug 2020 11:07:47 -0400 Received: from mout.web.de ([212.227.15.14]:55507) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBJVA-0007Nh-Jk for 39169@debbugs.gnu.org; Thu, 27 Aug 2020 11:07:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1598540855; bh=eqKudNiuXZjBia6HyMK1jmoCVQlsQm3UxitNcm0swP4=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=IB0U/O/x9r5sd28a09UrwCqFPOl7UU4w1AYZx1TKWBfdJvYZ0VY8VNfAxkDJTxbhT VsYHgRoNa5buFo8Pbo0WJTjpTsbXY1weIRrwZLvXh4Dw+zxfeJUjzTXr0BMavAC0RE I7Cjx3aIdc76lhqXR3eIJ7yIwaz86IdCRZmIuxnc= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([87.174.88.34]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MIyeU-1jvI1E3yEE-00KNE4; Thu, 27 Aug 2020 17:07:35 +0200 From: Michael Heerdegen To: Lars Ingebrigtsen Subject: Re: bug#39169: 28.0.50; Confusing obsolete variable warnings in eieio-defclass-autoload References: <87tv4txf23.fsf@web.de> <87h7srg3x6.fsf@gnus.org> <87bliy4hkp.fsf@gnus.org> <871rjt5sr3.fsf@web.de> <87h7sow6tp.fsf@gnus.org> Date: Thu, 27 Aug 2020 17:07:33 +0200 In-Reply-To: <87h7sow6tp.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 27 Aug 2020 15:34:42 +0200") Message-ID: <87364886ve.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:CnqfillDCVF6i/ZgyT3LZJreTaXGjBGxI0zPIdB/fh4z3monc7I ypkceNLDRtqq6AdZtZhAsp+AkCJnpBkAS3oR12kkLvw1Gh/7AOVJ6a2hakCKeyGs7YOERLU ywF3EgRTU6uvgj0p/7zppJbZYcqeTsMleEQnzIFCqctDojeJonF2XeZgzmA+8ghRS6sy/VR kfZpooGC+Az6a6ZVteHlg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Byr1YeOpuwE=:YC6cREb4MFh+2VX7BjVAup wGQ4/HFG06eLFBjOVGTPtoH2RHo+JKQp+/lMrRX9C3eyqEqhkVBDahn//57nnRGGHOG/jduzc 2+FwC4Zp4V/LajPgVyQUXGTUFvEaDp2cIp28QTaZBPCZoYkNJFj5/JCyb0ozPPA45palCRq9u PowTwsgvouCeL/ur7UM51fj4TGrQjf00f9zOEDtg+w3lnG08NxUgqjRwsrDvxRHF9dYBBp5Av k43d6/AGr3q1eq+1lftKNg8kFLD4JxZdGB6j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39169 Cc: 39169@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: -1.7 (-) Lars Ingebrigtsen writes: > OK, but then I think the right thing here is just to punt further, to > that user of the library. :-) If they don't want warnings about these > obsolete compat variables, then they are the ones that should set > eieio-backward-compatibility to nil? Fine for me - in principle. Note the word "confusing" in my bug report title. How long do you think would a average user (not every programmer knows the internals of eieio) derive from the warning Warning: `buffer-note' is an obsolete variable (as of 25.1); use 'buffer-note that emacs wants him to add a file local binding eieio-backward-compatibility -> nil? Michael. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 27 11:23:24 2020 Received: (at 39169) by debbugs.gnu.org; 27 Aug 2020 15:23:25 +0000 Received: from localhost ([127.0.0.1]:43687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBJkK-0007p0-IQ for submit@debbugs.gnu.org; Thu, 27 Aug 2020 11:23:24 -0400 Received: from mout.web.de ([212.227.15.3]:53771) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBJkH-0007ol-0N for 39169@debbugs.gnu.org; Thu, 27 Aug 2020 11:23:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1598541792; bh=dmvTleEdDwcM352UTLGFwEQkP8+AxX4S6ADc7+9GFI4=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=XaaWRrlwR71hyjONnVxmXLX6gLJI1lejH0xPyg1tXDOXJXE02/t1hWviu21CxSBRW 2SHO/6CMkBGd+sYwebwULseKFldXt9Yv7PGAe4iIEXQnde7KrLI1PRCBjcZAqGwp5a H31vZj8n538MeGxeKHhX8cD9Vc5XY+MvsUBzh2+g= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([87.174.88.34]) by smtp.web.de (mrweb001 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MaJc8-1jvqC80HKi-00JrtC; Thu, 27 Aug 2020 17:23:12 +0200 From: Michael Heerdegen To: Lars Ingebrigtsen Subject: Re: bug#39169: 28.0.50; Confusing obsolete variable warnings in eieio-defclass-autoload References: <87tv4txf23.fsf@web.de> <87h7srg3x6.fsf@gnus.org> <87bliy4hkp.fsf@gnus.org> <871rjt5sr3.fsf@web.de> <87h7sow6tp.fsf@gnus.org> <87364886ve.fsf@web.de> Date: Thu, 27 Aug 2020 17:23:11 +0200 In-Reply-To: <87364886ve.fsf@web.de> (Michael Heerdegen's message of "Thu, 27 Aug 2020 17:07:33 +0200") Message-ID: <87y2m06rkw.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:q7s8lrvMdT9rKHex0WOuhzHjoFtPuPhWnV0RjX1cSURQOHr5+BH E3U8VwiZYF5V8a188XWoMaCHamHRz3MVjezauPdk6tWNi7rN1XEBaDilVdS6G4SgPHyDyCY QoFUAR0XzKhjNriow5juCx3MSnSxJVqWB/7HBtrSxqVHYCvnhLElsG4dA7mESWKoVE21nlo xlU0wQVNbUXyOp3trJJxQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Aow0wcbm/hk=:vo8e8nNBpNIyRNM2sgSf5/ XxQBwAyx5pMcP/qQtEGwJEGBDRQGR6urBZem400rENpN2eXFDOvfHaYOpaTsSS8eC1qN3Frpv j3K3eJMx5ArH54obD/iKEUSwc/FDetLRhM2CfZwRJzzkw5qukTUi4gScDqAde4oI+PdRc4ovh YeHrmTeqk0Add7fEjFDfXHuc0i4kZVSi0Xg4P1MDr89Nc8sICTKvkkKBFEfNpbp55MEXTtzuk CUNNiGbJr1kgVlY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7 (/) X-Debbugs-Envelope-To: 39169 Cc: 39169@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: -1.7 (-) Michael Heerdegen writes: > that emacs wants him to add a file local binding > eieio-backward-compatibility -> nil? Note that I didn't check whether this actually (and always) works: The problematic obsolete variable declaration is performed in the function `eieio-defclass-autoload'. If the value of `eieio-backward-compatibility' is checked when loading autoload definitions, will a file local binding in the source library be considered at all? Oh, and let me add another important aspect: why does using an obsolete name as the name of a _lexical_ variable trigger the "variable is obsolete" warning at all? If that would not be the case (and I don't think it is useful) then in source files using lexical binding mode we would not see the problem. Michael. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 27 17:22:18 2020 Received: (at 39169) by debbugs.gnu.org; 27 Aug 2020 21:22:18 +0000 Received: from localhost ([127.0.0.1]:44325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBPLe-0002Zq-DF for submit@debbugs.gnu.org; Thu, 27 Aug 2020 17:22:18 -0400 Received: from mout.web.de ([217.72.192.78]:34901) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBPLb-0002Za-2b for 39169@debbugs.gnu.org; Thu, 27 Aug 2020 17:22:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1598563325; bh=o+1mOJpNweex/l/SirBDSv6drPeUVTOhmSiIfsBtiKA=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=k1FkhGeM4O4KLbvbhufMRzKIgZuxREXD6Mpbj11toKcL+lStLs4CzVJSMxxrSrEDq h2T0Gv/Tg4I2DlWd/R/4W+84ggG1dCethwXc9V1WtBF54AROCRJCA5eb5Ve9JSzv/Z njEYyIk/YoSlj2JEMHM2ujl/wZNZK4xaEn/e8PbM= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([87.174.88.34]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MhDkj-1jyZHo0cyn-00MKdZ; Thu, 27 Aug 2020 23:22:05 +0200 From: Michael Heerdegen To: Lars Ingebrigtsen Subject: Re: bug#39169: 28.0.50; Confusing obsolete variable warnings in eieio-defclass-autoload References: <87tv4txf23.fsf@web.de> <87h7srg3x6.fsf@gnus.org> <87bliy4hkp.fsf@gnus.org> <871rjt5sr3.fsf@web.de> <87h7sow6tp.fsf@gnus.org> <87364886ve.fsf@web.de> <87y2m06rkw.fsf@web.de> Date: Thu, 27 Aug 2020 23:22:03 +0200 In-Reply-To: <87y2m06rkw.fsf@web.de> (Michael Heerdegen's message of "Thu, 27 Aug 2020 17:23:11 +0200") Message-ID: <87tuwn7pj8.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:ZqXuipjrzzUa7gzwNaP0oQoGPYXUmp2Jg8KNdFp+V6F8rruyp88 I5b3/kji4UoaaKbuvW5qq/KYvA1lIE/cP/ALpc83ZCI6lTGdauIF9Y8krSox4XtTc79UYMn MCcVTCERxdt1v0gf3FanhFHyPI/Hx03n0SAmziVjBgf7SZrt77JpzTrwSpaLEH5uCqOc2Bo PhNzHvui4yTQDhXKZS1jw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:hzg+ST9JRBA=:Yq9qdZ/USXdEJAK8Qe8jyo Ku8r16piMWHq5EGalr6TXKZSfJPd/fC8eS4uc3BaqaR8PCxSKR05rI2dHOwTsQdRD1b0rXrxc 9rfREft+qbABvIZDmKPenCFDte5n8BQKFjktx7/f6BpGSLkFMjFfd/EbL9v/O/mJr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6QMkZTN3K997D68JmUMWOS0ZTFykI7Wcuv 106qcNtVgfh6FsU4/YM6gOnSF1vRIo4c8d6u+AA== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39169 Cc: 39169@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: -1.7 (-) --=-=-= Content-Type: text/plain Michael Heerdegen writes: > Oh, and let me add another important aspect: why does using an obsolete > name as the name of a _lexical_ variable trigger the "variable is > obsolete" warning at all? If that would not be the case (and I don't > think it is useful) then in source files using lexical binding mode we > would not see the problem. Would doing something like this make sense? --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=bug.patch diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 966990bac9..418070fabe 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -3357,6 +3357,7 @@ byte-compile-check-variable (and od (not (memq var byte-compile-not-obsolete-vars)) (not (memq var byte-compile-global-not-obsolete-vars)) + (not (memq var byte-compile-lexical-variables)) (or (pcase (nth 1 od) ('set (not (eq access-type 'reference))) ('get (eq access-type 'reference)) --=-=-= Content-Type: text/plain BTW, while I looked at this, I found this spurious lookup in `byte-compile-lexical-variables': #+begin_src emacs-lisp (defun byte-compile-form (form &optional for-effect) (let ((byte-compile--for-effect for-effect)) (cond ((not (consp form))..10..) ((symbolp (car form)) (let* ((fn (car form))..4..) (when (memq fn '(set symbol-value run-hooks..4..) (pcase (cdr form) (`(',var . ,_) (when (assq var byte-compile-lexical-variables) ;; <--- here (byte-compile-report-error (format-message "%s cannot use lexical var `%s'" fn var))) ...))))))))) #+end_src shouldn't the `assq' be `memq'? Michael. --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 27 17:38:58 2020 Received: (at 39169) by debbugs.gnu.org; 27 Aug 2020 21:38:58 +0000 Received: from localhost ([127.0.0.1]:44336 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBPbm-0002yS-2i for submit@debbugs.gnu.org; Thu, 27 Aug 2020 17:38:58 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:48401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBPbh-0002y9-W9 for 39169@debbugs.gnu.org; Thu, 27 Aug 2020 17:38:57 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 601A04408E4; Thu, 27 Aug 2020 17:38:48 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id B72E14408BE; Thu, 27 Aug 2020 17:38:46 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1598564326; bh=q9F/dpeMmPoFQnrUp1WuMGX++lvcUpxBwTk3n2soX00=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=RM0vnehtfnuZwQXdVYG986K2p+YLuIvA4MCbxxHnlVe/+yEuilui1a3eZgyC8byHd aHBEMHJgeh6KBlpczrh8ZvBaQARun2K5TfwdpKyW4DSKd3dbNY5xLYVFGESRc8S/EH ZWouir1vwK8hE14P+tno0TPPnikLR7bQqR2llVOPOBvxDBpkdKR/BRIRGeBFx0cl5V wOr8aAmCh3Qy7oCr5zIbKGtz+qCPVQI2gd8QlI7n2DrIj4TxKydnPyBHz8vmnk8P6/ x0Zn2K4/7dDt5EOFWqT+oadXdwtgROVt8H6vbJinF4YKlO9xILc8ZhRmus1Gz41JHO UZXAlUNjO0YBw== Received: from alfajor (unknown [45.72.232.131]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 86474120255; Thu, 27 Aug 2020 17:38:46 -0400 (EDT) From: Stefan Monnier To: Michael Heerdegen Subject: Re: bug#39169: 28.0.50; Confusing obsolete variable warnings in eieio-defclass-autoload Message-ID: References: <87tv4txf23.fsf@web.de> <87h7srg3x6.fsf@gnus.org> <87bliy4hkp.fsf@gnus.org> <871rjt5sr3.fsf@web.de> <87h7sow6tp.fsf@gnus.org> <87364886ve.fsf@web.de> <87y2m06rkw.fsf@web.de> <87tuwn7pj8.fsf@web.de> Date: Thu, 27 Aug 2020 17:38:45 -0400 In-Reply-To: <87tuwn7pj8.fsf@web.de> (Michael Heerdegen's message of "Thu, 27 Aug 2020 23:22:03 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.031 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39169 Cc: 39169@debbugs.gnu.org, Lars Ingebrigtsen 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.3 (---) > Note that I didn't check whether this actually (and always) works: The > problematic obsolete variable declaration is performed in the function > `eieio-defclass-autoload'. If the value of > `eieio-backward-compatibility' is checked when loading autoload > definitions, will a file local binding in the source library be > considered at all? Good question. I did not pay attention to non-global values of `eieio-backward-compatibility` when writing that code, so I don't know whether it would work well (or at all). >> Oh, and let me add another important aspect: why does using an obsolete >> name as the name of a _lexical_ variable trigger the "variable is >> obsolete" warning at all? If that would not be the case (and I don't >> think it is useful) then in source files using lexical binding mode we >> would not see the problem. > > Would doing something like this make sense? > > diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el > index 966990bac9..418070fabe 100644 > --- a/lisp/emacs-lisp/bytecomp.el > +++ b/lisp/emacs-lisp/bytecomp.el > @@ -3357,6 +3357,7 @@ byte-compile-check-variable > (and od > (not (memq var byte-compile-not-obsolete-vars)) > (not (memq var byte-compile-global-not-obsolete-vars)) > + (not (memq var byte-compile-lexical-variables)) > (or (pcase (nth 1 od) > ('set (not (eq access-type 'reference))) > ('get (eq access-type 'reference)) Yes! > BTW, while I looked at this, I found this spurious lookup in > `byte-compile-lexical-variables': > > #+begin_src emacs-lisp > (defun byte-compile-form (form &optional for-effect) > (let ((byte-compile--for-effect for-effect)) > (cond > ((not (consp form))..10..) > ((symbolp (car form)) > (let* ((fn (car form))..4..) > (when (memq fn '(set symbol-value run-hooks..4..) > (pcase (cdr form) > (`(',var . ,_) > (when (assq var byte-compile-lexical-variables) ;; <--- here > (byte-compile-report-error > (format-message "%s cannot use lexical var `%s'" fn var))) > ...))))))))) > #+end_src > > shouldn't the `assq' be `memq'? I think you're right. Both changes should ideally come with corresponding regression tests. Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 28 10:06:29 2020 Received: (at 39169) by debbugs.gnu.org; 28 Aug 2020 14:06:29 +0000 Received: from localhost ([127.0.0.1]:47021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBf1R-0000X0-2P for submit@debbugs.gnu.org; Fri, 28 Aug 2020 10:06:29 -0400 Received: from quimby.gnus.org ([95.216.78.240]:49940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBf1P-0000Wm-Bt for 39169@debbugs.gnu.org; Fri, 28 Aug 2020 10:06:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=qxThFMHFhdybsubbI+iIfZmjWt0Jvj3IANeqE937HkQ=; b=m49VOx+Kvim68saW5tYUS4Eg3R dabQylJ4OFdZhIMOLqCPTJS758ujoQBqxbw/Q40WfTGSowyNHTrZvB4clTGg8HsUWQO3Kg/bGLYBH vWjblzLx+V3SLxlCp6FV10vvYX8rOOb07bsOZE2gA2EkADW5oHriEMPhSdGHmYt+fD34=; 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 1kBf1D-0002tp-1z; Fri, 28 Aug 2020 16:06:20 +0200 From: Lars Ingebrigtsen To: Michael Heerdegen Subject: Re: bug#39169: 28.0.50; Confusing obsolete variable warnings in eieio-defclass-autoload References: <87tv4txf23.fsf@web.de> <87h7srg3x6.fsf@gnus.org> <87bliy4hkp.fsf@gnus.org> <871rjt5sr3.fsf@web.de> <87h7sow6tp.fsf@gnus.org> <87364886ve.fsf@web.de> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEWpuctxj8g9R1r/ //8QJ8S9AAAAAWJLR0QDEQxM8gAAAAd0SU1FB+QIHA4FDBXhxbYAAAFlSURBVCjPTZIxj9swDIUf jVMGTyrQ3JCps38FPWS5yQHMAPXcpf4V7trJGW73kBxs/so+ykXuOAj6RIl8TxIgZh2ecTTkT+jT Z8rMdF8FZNj2hPYc3B/AsG3gWrVB3GfUExNVzIIXQl37HgWqMh19FuA0/Xh118Y7Aw5LSqaHzrXl 0Q0Xa5dqLc3G6Tt+ymkOMVrfRebMbkdodP0l9R2UmxR+0zxqsnBzGe5yWJGo85vZFXmcIcWNzFI5 zb4EJOTmbeqtDRjb6uGPYtfMl8b/3s49bRM+3D8WBWsT3JMvOa4s4I5mTQF6pK00uKgZdw4b+/qk YkyWGKcsccbsbHZaXpACWuKw7tqMj2LXtXk/o8hIlpyuCB21Ghvc+lKg4zj4e1cOMdde3XKBEmz9 nEd8hb2AfMko5Anxruh0h/+fQGjb/c/+C/iABLoG77DyLcBDasbrA2vjzh9w7CAt3mKf6G/WvPwD bX2cIoGJqjYAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjAtMDgtMjhUMTQ6MDU6MTIrMDA6MDBCuCXs AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIwLTA4LTI4VDE0OjA1OjEyKzAwOjAwM+WdUAAAAABJRU5E rkJggg== X-Now-Playing: Mike Oldfield's _Tubular Bells (1)_: "Tubular Bells Part Two" Date: Fri, 28 Aug 2020 16:06:13 +0200 In-Reply-To: <87364886ve.fsf@web.de> (Michael Heerdegen's message of "Thu, 27 Aug 2020 17:07:33 +0200") Message-ID: <87r1rqvp9m.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 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: Michael Heerdegen writes: > Fine for me - in principle. Note the word "confusing" in my bug report > title. How long do you think would a average user (not every programmer > knows the internals of eieio) derive from the warni [...] 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: 39169 Cc: 39169@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: -1.0 (-) Michael Heerdegen writes: > Fine for me - in principle. Note the word "confusing" in my bug report > title. How long do you think would a average user (not every programmer > knows the internals of eieio) derive from the warning > > Warning: `buffer-note' is an obsolete variable (as of 25.1); use > 'buffer-note > > that emacs wants him to add a file local binding > eieio-backward-compatibility -> nil? Yeah, that's true. Could we add that to the obsolete warning (instead of the confusing "'buffer-note")? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 29 06:00:14 2020 Received: (at 39169) by debbugs.gnu.org; 29 Dec 2020 11:00:14 +0000 Received: from localhost ([127.0.0.1]:37764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuCje-0005qb-0l for submit@debbugs.gnu.org; Tue, 29 Dec 2020 06:00:14 -0500 Received: from mout.web.de ([212.227.17.11]:37473) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuCjb-0005pE-Fl for 39169@debbugs.gnu.org; Tue, 29 Dec 2020 06:00:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1609239602; bh=AxpWUIFy3muyRNxOxKzWXUMjHuY+jPQDoLptz+JPGyk=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=o2M3a4nUwNFf4rn7BLwqzLs3JDlJQvhyR2mfSFsH2kEhj9nTkzMFCNctSCSCak5ZE mKjuyR+nlIZwrFyGQLWIutNiCJeDGhrMZCe3Bphx8Q5+U3JjDTZOL7dUztexxPxnUx TVEmaUwOR1DrKa2xHvaUweSvp7IGtCQKNwySJ9U4= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([88.67.99.46]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1N5CUp-1jvfgS2NRF-0110U0; Tue, 29 Dec 2020 12:00:01 +0100 From: Michael Heerdegen To: Stefan Monnier Subject: Re: bug#39169: 28.0.50; Confusing obsolete variable warnings in eieio-defclass-autoload References: <87tv4txf23.fsf@web.de> <87h7srg3x6.fsf@gnus.org> <87bliy4hkp.fsf@gnus.org> <871rjt5sr3.fsf@web.de> <87h7sow6tp.fsf@gnus.org> <87364886ve.fsf@web.de> <87y2m06rkw.fsf@web.de> <87tuwn7pj8.fsf@web.de> Date: Tue, 29 Dec 2020 11:59:59 +0100 In-Reply-To: (Stefan Monnier's message of "Thu, 27 Aug 2020 17:38:45 -0400") Message-ID: <87v9ckri6o.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:yyWpMUS5977F1VHtqzTRc6ZAO3UKnMHqQ0bl08soMF3Yq1Upzbw YuRFI3TmzcObdeGclaccPyjQCxrfMiBLHFS3Mb7VqhRJN0NXD2ndoqPonyYzHN0V0yCJX49 dKdKOEwqDaVdpcIn7jsG3kJWmN1vApgirCsa7lpKKuSegJD5MZ7IqaTnYEvpMwmMQJk66B2 JRMraB5SmNUtbXmOSalug== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:GZbAN4fwt7I=:p3jsZGN+Yt9RwJx2i9gcNs iUjAt4mAFd/vdm8nd2g/cj2UZfbc4dz81zea9xRIahd7uD9GIIPuHzcDQyd7E2AugqWQH3U2I Zea9TrkIrjS4s+8CQH1pN2J8LS6eEXH+cAcFp76u5+UMxQPJwkNkNgfEnUS7/plojp9CAq2Ne UTeChp/Qxz3Uj3H3sKxyUt7nXHAuWObHFxwlB54PYMXEfk13V66ksnySaSXJJQ3uVq4PgEAI6 Xyv//5vpvfpHoQQg4PzIax87eKjGYPJ7fAo4uy8PNii6BABsZfNEu4Yk9okWYdrDBxsLFQL83 TWOJxKtk/ZXGIHbI1aqbbPMz2CAXDWdvsPrimE1ip3oRWRw60261dHe2rJZ1AeVMvKYAFriO6 JZJz3Af/Tddtq1AQBBR/6O+L1yBukh74nLv6rEMwk7NkNz+Uf+u/1J5B7TJwG+MbmPUCvNjeg o8IVqlWojMaao+QFNJVyCrYSVCsvPsLVo+yjx5MjD8TfQWs6NMiUEvS9jT5JRWq32TSfKNKqO fmYx+q5Xnla8F4oCNrOfySzhixIVVhUVu0twQCMYKNWtfTy5yRlC/6Eb9Jp6OuJg7q+FCbX6A JXZV+nB5Fc4VyFOVNpch9eHxlRjvMskf7arf6pbjIaFdpLrz03kRQhoqg+NzNXY2K3Ye5Cvdr BpTBDfHJINUFhfWDqKDoXv++nP5VPeErKE4lF3algxSfL/PIOAsvdbfV0L/O46yOUIWwmr6z1 v9GFaSsGZO1WvAAr6995Z33HB3YPsR7WyevRhzmI3kBNGAXMmqPZjMmjm4WST15Bk0o36kpSp q2QZQjq54SGeg7+P3jevzglCOHpEE1Czll6xr1x04iFWtlADHIgB20PT+eKzUcTLTKXyBuVHN bjN4luEhmPSHibAZWCxyKczmDoLE7LNbKCpel7jTk= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39169 Cc: 39169@debbugs.gnu.org, Lars Ingebrigtsen 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.7 (-) --=-=-= Content-Type: text/plain Stefan Monnier writes: > > diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el > > index 966990bac9..418070fabe 100644 > > --- a/lisp/emacs-lisp/bytecomp.el > > +++ b/lisp/emacs-lisp/bytecomp.el > > @@ -3357,6 +3357,7 @@ byte-compile-check-variable > > (and od > > (not (memq var byte-compile-not-obsolete-vars)) > > (not (memq var byte-compile-global-not-obsolete-vars)) > > + (not (memq var byte-compile-lexical-variables)) > > (or (pcase (nth 1 od) > > ('set (not (eq access-type 'reference))) > > ('get (eq access-type 'reference)) > > Yes! Coming back to this now... Ok, then let's do that! > > BTW, while I looked at this, I found this spurious lookup in > > `byte-compile-lexical-variables': > > > > #+begin_src emacs-lisp > > (defun byte-compile-form (form &optional for-effect) > > (let ((byte-compile--for-effect for-effect)) > > (cond > > ((not (consp form))..10..) > > ((symbolp (car form)) > > (let* ((fn (car form))..4..) > > (when (memq fn '(set symbol-value run-hooks..4..) > > (pcase (cdr form) > > (`(',var . ,_) > > (when (assq var byte-compile-lexical-variables) ;; <--- here > > (byte-compile-report-error > > (format-message "%s cannot use lexical var `%s'" fn var))) > > ...))))))))) > > #+end_src > > > > shouldn't the `assq' be `memq'? > > I think you're right. Seems this has been treated meanwhile: Bug#44980 and commit ace6eba036 "Fix byte-compiler warning for failed uses of lexical vars", Stefan Kangas. > Both changes should ideally come with corresponding regression tests. I tried to add an appropriate test for the remaining case, please check the following patch (my first addition to the test suite) - is it what you had in mind? - where I also try to give a less confusing (but longer) compiler warning. Does it look alright? --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Fix-obsolete-variable-warnings-about-class-names.patch Content-Transfer-Encoding: quoted-printable =46rom 63f3420d91273fecb51095c20c81d9fd0508ee4c Mon Sep 17 00:00:00 2001 From: Michael Heerdegen Date: Tue, 22 Dec 2020 05:44:47 +0100 Subject: [PATCH] Fix obsolete variable warnings about class names * lisp/emacs-lisp/eieio-core.el (eieio-defclass-autoload): Try to make the wording of the warning about the obsoleted variable less confusing. * lisp/emacs-lisp/bytecomp.el (byte-compile-check-variable): Don't warn for lexical variables (Bug#39169). Fix spurious `or'. * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp/warn-obsolete-variable-bound\.el): New test. * test/lisp/emacs-lisp/bytecomp-resources/warn-obsolete-variable-bound.el: New file. =2D-- lisp/emacs-lisp/bytecomp.el | 9 +++++---- lisp/emacs-lisp/eieio-core.el | 3 ++- .../bytecomp-resources/warn-obsolete-variable-bound.el | 7 +++++++ test/lisp/emacs-lisp/bytecomp-tests.el | 3 +++ 4 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 test/lisp/emacs-lisp/bytecomp-resources/warn-obsolete-= variable-bound.el diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index f14ad93d2e..aa531c2558 100644 =2D-- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -3441,10 +3441,11 @@ byte-compile-check-variable (and od (not (memq var byte-compile-not-obsolete-vars)) (not (memq var byte-compile-global-not-obsolete-vars)) - (or (pcase (nth 1 od) - ('set (not (eq access-type 'reference))) - ('get (eq access-type 'reference)) - (_ t))))) + (not (memq var byte-compile-lexical-variables)) + (pcase (nth 1 od) + ('set (not (eq access-type 'reference))) + ('get (eq access-type 'reference)) + (_ t)))) (byte-compile-warn-obsolete var)))) (defsubst byte-compile-dynamic-variable-op (base-op var) diff --git a/lisp/emacs-lisp/eieio-core.el b/lisp/emacs-lisp/eieio-core.el index 3bc65d0d4c..010ff54d4d 100644 =2D-- a/lisp/emacs-lisp/eieio-core.el +++ b/lisp/emacs-lisp/eieio-core.el @@ -215,7 +215,8 @@ eieio-defclass-autoload ;; turn this into a usable self-pointing symbol (when eieio-backward-compatibility (set cname cname) - (make-obsolete-variable cname (format "use \\=3D'%s instead" cnam= e) + (make-obsolete-variable cname (format "\ +use \\=3D'%s or turn off `eieio-backward-compatibility' instead" cname) "25.1")) (setf (cl--find-class cname) newc) diff --git a/test/lisp/emacs-lisp/bytecomp-resources/warn-obsolete-variabl= e-bound.el b/test/lisp/emacs-lisp/bytecomp-resources/warn-obsolete-variabl= e-bound.el new file mode 100644 index 0000000000..e65a541e6e =2D-- /dev/null +++ b/test/lisp/emacs-lisp/bytecomp-resources/warn-obsolete-variable-bound= .el @@ -0,0 +1,7 @@ +;;; -*- lexical-binding: t -*- + +(make-obsolete-variable 'bytecomp--tests-obsolete-var-2 nil "99.99") + +(defun foo () + (let ((bytecomp--tests-obsolete-var-2 2)) + bytecomp--tests-obsolete-var-2)) diff --git a/test/lisp/emacs-lisp/bytecomp-tests.el b/test/lisp/emacs-lisp= /bytecomp-tests.el index 47aab563f6..c4a27b9ef8 100644 =2D-- a/test/lisp/emacs-lisp/bytecomp-tests.el +++ b/test/lisp/emacs-lisp/bytecomp-tests.el @@ -625,6 +625,9 @@ "warn-obsolete-variable-same-file.el" (bytecomp--define-warning-file-test "warn-obsolete-variable.el" "bytecomp--tests-obs.*obsolete.*99.99") +(bytecomp--define-warning-file-test "warn-obsolete-variable-bound.el" + "bytecomp--tests-obs.*obsolete.*99.99" t) + (bytecomp--define-warning-file-test "warn-redefine-defun-as-macro.el" "as both function and macro") =2D- 2.29.2 --=-=-= Content-Type: text/plain TIA, Michael. --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 06 11:56:41 2021 Received: (at 39169-done) by debbugs.gnu.org; 6 Jan 2021 16:56:41 +0000 Received: from localhost ([127.0.0.1]:45377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxC6y-0003b8-SR for submit@debbugs.gnu.org; Wed, 06 Jan 2021 11:56:41 -0500 Received: from mout.web.de ([212.227.15.14]:48927) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxC6w-0003at-GA for 39169-done@debbugs.gnu.org; Wed, 06 Jan 2021 11:56:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1609952189; bh=fozDKC/8Bv5PZliIBpZ5YMXTiIrebn6M+7nEkWDzZ2c=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=P4siU2uB2jWfQzanqI0NRKMxrH0GqXtTFiyXGd3qZSSege4GH2CASWMNXyqJNoKHQ W3gdyOY45I9LuMCrXUiq/kZfD5EdBl43D9WG1+uddM1b1kb/1AWlCjqC516Zrq/w6J vprt0eeA8aQH7N3d9ZDa9kkz/IhSU5slb6uahmlg= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([88.67.99.46]) by smtp.web.de (mrweb002 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MMn8x-1kuBAB3jId-008YPc; Wed, 06 Jan 2021 17:56:29 +0100 From: Michael Heerdegen To: Stefan Monnier Subject: Re: bug#39169: 28.0.50; Confusing obsolete variable warnings in eieio-defclass-autoload References: <87tv4txf23.fsf@web.de> <87h7srg3x6.fsf@gnus.org> <87bliy4hkp.fsf@gnus.org> <871rjt5sr3.fsf@web.de> <87h7sow6tp.fsf@gnus.org> <87364886ve.fsf@web.de> <87y2m06rkw.fsf@web.de> <87tuwn7pj8.fsf@web.de> <87v9ckri6o.fsf@web.de> Date: Wed, 06 Jan 2021 17:56:27 +0100 In-Reply-To: <87v9ckri6o.fsf@web.de> (Michael Heerdegen's message of "Tue, 29 Dec 2020 11:59:59 +0100") Message-ID: <871reyats4.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:gw1bANpK2woCoR+JEX1odm8gqt9WxemSTdC3aM0vHsBAfaIepta AsJRVNzmz+0m1uwm1EJxYIAKiy9DmehNsHageJmrikJr4zoyDzy/jLE0u53F0lrjyHQnw/I YZ2T7trW0cHycO5JFI20Sgbnks2W6+j1MamgP1i6uM1MtpQd9ervpYkUqZuNECHoRZfdZys CIRwHuZNnKQ0n9ABCKrYg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:AC3YGawTtYQ=:1z6W1iQVn6FJhHH5mlfacZ ZSF7Jie55jDXiEl8jCiZxIkxntxli/zXqYSTRDZ1s9sXHUX0B20Iz1vQKB0NAF4bUdfXIQfDi d53uyFbhsYoj9LqJ4vceAet7OILRQoBjuqgmBoe6tEmTZIODmXaxsL+y+/Ojmv3i0au9vtTlP HlI2pkk7uKy7ySorCyrNZpiCf+Pt92RhAyGlUwDWYT0mIOY+76wm1RObC+MACIiJisIOeypIs h3+yKtyJZRjUXW11ZVh8BpasSI3eMzTtZ3KbMrHtoG7Qqy2AnGXOo+aue8CkJ/a9M5nDYSfsU yP3qNnkxKxu59E4NFMRNqr0q7k8jxqJz+bzCf7ueBjpuLJI5799RI7prjLa4aB+2IkBdqcP6K 4/nQz/D/slHFdpFWmmgVRdBGSd16/vvOm4oLE7j44NvW8SgIPJ0Jg6rBcbsleva2KyZLJaYyy gYQurUVNT8T9A6d/NFGO8c0Xn/VKArvQdal0IMfqj6xpS468OBrp/q080W78GRGCGWRx8QPQa UETGngeygVdS4WDep7ByLvAjLocIpaj+V45zb8oYozzdbL9Caf/Q4KZxdoRagwY8Et+EWfInn CHW2q8ugjmzKDlNek8Du6I5JUunRsDHgzBDCz1SeB4k5WHoT5Ac5090wlmu6CWeQ3rF9Lb6W9 Ty0ojcZA5SdjWzSE8n3Dtf+YMxxQJ/5HXCsZZPyvPEC1+lB1OjZ1meWijp6SyYThc2Mu3umMd +s6JQdFZJwAsuPO7drd7sQqzXJbUMkbrLZN4igxLfqTtW689fAx/pqJJcCjyrrsjepfgSfsAM YvOUhg6Xw1KaccemdEE+aXIlmNnMgxN4WcvD5mrv5dATQ9z3H9CriP7rI/GhQdTBaM0n77eaJ AtE0qmquRJ7QHsA4+7HHbN66UlWSwDS52efmQ8008= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39169-done Cc: Lars Ingebrigtsen , 39169-done@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.7 (-) Michael Heerdegen writes: > I tried to add an appropriate test for the remaining case, please check > the following patch (my first addition to the test suite) - is it what > you had in mind? - where I also try to give a less confusing (but > longer) compiler warning. Does it look alright? Installed. Then we should be done here, and I'm closing this report. Thanks to all, Michael. From unknown Wed Jun 18 00:23:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 04 Feb 2021 12:24:05 +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