From unknown Fri Jun 20 07:09:30 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#12997 <12997@debbugs.gnu.org> To: bug#12997 <12997@debbugs.gnu.org> Subject: Status: Add some way to mark autoloads as obsolete Reply-To: bug#12997 <12997@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:09:30 +0000 retitle 12997 Add some way to mark autoloads as obsolete reassign 12997 emacs submitter 12997 Glenn Morris severity 12997 wishlist tag 12997 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 25 20:47:53 2012 Received: (at submit) by debbugs.gnu.org; 26 Nov 2012 01:47:53 +0000 Received: from localhost ([127.0.0.1]:38801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tcnnd-0000xw-Hs for submit@debbugs.gnu.org; Sun, 25 Nov 2012 20:47:53 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:54032) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tcnnb-0000xn-Fg for submit@debbugs.gnu.org; Sun, 25 Nov 2012 20:47:52 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Tcnly-0007yC-Qi; Sun, 25 Nov 2012 20:46:10 -0500 From: Glenn Morris To: submit@debbugs.gnu.org Subject: Add some way to mark autoloads as obsolete X-Spook: keyhole spies basement security Operation Iraqi Freedom X-Ran: qH"`4+t5|3U%I)@-H_v$E%b`>2KM8K^j-Rk0dKN)!^Q@bBDIXVQUx].4"Y~>e%m[Kiw4A: X-Hue: white X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sun, 25 Nov 2012 20:46:10 -0500 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) Package: emacs Severity: wishlist It would be handy if there was a way to mark autoloads obsolete. Then if the relevant function/variable is accessed without the associated package being already loaded, a warning would be produced. (Either from the byte-compiler or via display-warning at the end of loading ~/.emacs.) From debbugs-submit-bounces@debbugs.gnu.org Tue May 10 08:22:46 2022 Received: (at 12997) by debbugs.gnu.org; 10 May 2022 12:22:46 +0000 Received: from localhost ([127.0.0.1]:60544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noOt3-000604-Tb for submit@debbugs.gnu.org; Tue, 10 May 2022 08:22:46 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noOt2-0005zm-5i for 12997@debbugs.gnu.org; Tue, 10 May 2022 08:22:44 -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=5B6YckwHbFwWM+qV66vUDfbE+DmM3HwbO81X765B80A=; b=SpysBRyckfF5weTOOHZEWYZY8c AKMzrNqfYszTUuzmvNoFm23iqcnq+2fa2lmYt4Xh+H5LHWASyxMBihySJ8C+XGd0+klWVxKA+1fEB euKdhF0A4jcbMrJGYx86pIVDRRADXjmnZrLYwx6JNrjEcqzbGvUGKe3tQZXuxonhMj4k=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1noOst-0003Kg-Sq; Tue, 10 May 2022 14:22:38 +0200 From: Lars Ingebrigtsen To: Glenn Morris Subject: Re: bug#12997: Add some way to mark autoloads as obsolete References: X-Now-Playing: Joni Mitchell's _The Hissing Of Summer Lawns_: "The Boho Dance" Date: Tue, 10 May 2022 14:22:34 +0200 In-Reply-To: (Glenn Morris's message of "Sun, 25 Nov 2012 20:46:10 -0500") Message-ID: <87tu9xinlh.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.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: Glenn Morris writes: > It would be handy if there was a way to mark autoloads obsolete. > Then if the relevant function/variable is accessed without the > associated package being already loaded, a warning would be produc [...] 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: -2.3 (--) X-Debbugs-Envelope-To: 12997 Cc: 12997@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 (---) Glenn Morris writes: > It would be handy if there was a way to mark autoloads obsolete. > Then if the relevant function/variable is accessed without the > associated package being already loaded, a warning would be produced. > (Either from the byte-compiler or via display-warning at the end of > loading ~/.emacs.) I may well be misunderstanding what you mean here, but if you ;;;###autoload (defun foo () (declare (obsolete nil "25.1")) then that obsoletion form also makes it into the loaddefs file, so this seems like it should already work? Or is this something that's been fixed in the decade since the bug report was opened? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue May 10 08:22:49 2022 Received: (at control) by debbugs.gnu.org; 10 May 2022 12:22:49 +0000 Received: from localhost ([127.0.0.1]:60547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noOt7-00060J-46 for submit@debbugs.gnu.org; Tue, 10 May 2022 08:22:49 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noOt6-0005zw-Gr for control@debbugs.gnu.org; Tue, 10 May 2022 08:22:48 -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=ichUkAodQGNJaKyaYAUQdMCrGDy0Ipvr4hUBeE5is4Y=; b=Y63L9vATtiY/84RjN8SoguNNXK bqA1D0WF1Jzn0bTipeUhTV20yrn3XlP3AOBzfV90TDEvHsO+5IfmwSuolFVKZz0yK64tj3FMdm1Nh yWg+FADY8z7Ak7nSpyH4MMcUv8hWIlhBFVoAqQ13pTGQyW6n9baAPAPRiijEvLvQcxT8=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1noOsy-0003Kp-TJ for control@debbugs.gnu.org; Tue, 10 May 2022 14:22:42 +0200 Date: Tue, 10 May 2022 14:22:40 +0200 Message-Id: <87sfphinlb.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #12997 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 12997 + moreinfo 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: -2.3 (--) 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: -3.3 (---) tags 12997 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 11:05:41 2022 Received: (at 12997) by debbugs.gnu.org; 9 Jun 2022 15:05:41 +0000 Received: from localhost ([127.0.0.1]:47355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzJjB-0006d0-7B for submit@debbugs.gnu.org; Thu, 09 Jun 2022 11:05:41 -0400 Received: from quimby.gnus.org ([95.216.78.240]:51174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzJj6-0006ce-HU for 12997@debbugs.gnu.org; Thu, 09 Jun 2022 11:05:40 -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=DUC2CqckTT6WxSnpIdNHcH6MECj8Jf1sojv/I1vYEk0=; b=N4GbIz6IVgj4fuk6hQXnGQubk0 sjXqqerS8WsRvR+C6XVr4u+qHgsXh7NgthgzJBdRwdmT2oQEF3RGviwfLv4AI5A5PJ4c6A4dO6ADN etKho7jGvr3EmOB+RH1amejRd22IUzGIWd9o4Vme5zMKqpMCk99cxmZeJE6PEFxojHMI=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzJiu-0001U8-AI; Thu, 09 Jun 2022 17:05:30 +0200 From: Lars Ingebrigtsen To: Glenn Morris Subject: Re: bug#12997: Add some way to mark autoloads as obsolete References: <87tu9xinlh.fsf@gnus.org> X-Now-Playing: Farben's _textstar+_: "Beautone (Remaster 2022)" Date: Thu, 09 Jun 2022 17:05:23 +0200 In-Reply-To: <87tu9xinlh.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 10 May 2022 14:22:34 +0200") Message-ID: <87edzx27yk.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.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: > I may well be misunderstanding what you mean here, but if you > > ;;;###autoload > (defun foo () > (declare (obsolete nil "25.1")) > > then that obsoletion form also makes it into the loaddefs file, [...] 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: -2.3 (--) X-Debbugs-Envelope-To: 12997 Cc: 12997@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 (---) Lars Ingebrigtsen writes: > I may well be misunderstanding what you mean here, but if you > > ;;;###autoload > (defun foo () > (declare (obsolete nil "25.1")) > > then that obsoletion form also makes it into the loaddefs file, so this > seems like it should already work? > > Or is this something that's been fixed in the decade since the bug > report was opened? This was a month ago, so I'm going to go ahead and guess that this works fine now, and I'm closing this bug report. If this bug report was about something else, please respond to the debbugs address and we'll reopen. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 11:05:45 2022 Received: (at control) by debbugs.gnu.org; 9 Jun 2022 15:05:45 +0000 Received: from localhost ([127.0.0.1]:47358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzJjF-0006dH-GN for submit@debbugs.gnu.org; Thu, 09 Jun 2022 11:05:45 -0400 Received: from quimby.gnus.org ([95.216.78.240]:51188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzJjE-0006cp-F2 for control@debbugs.gnu.org; Thu, 09 Jun 2022 11:05:44 -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=xJeKqFsaEtCheUfjPGi4gzP3htI/TNCx32rYFpJIQbA=; b=b/xmoi2CaJwEASF9N29QWYC/HK WWJbmwCF1C6pGJRMn4x3/H0XW7MYFm6irw6CSfxH3PKinzqkiJGDBpBt99uxHbAqMVKj+6lYeKrOT hrgHz8meoqyKC/sivfQjm9MHumOSvfAljSRux0NlFpILlbP3yEKD8j72E9ciKXMkYnyk=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzJj3-0001UY-2C for control@debbugs.gnu.org; Thu, 09 Jun 2022 17:05:39 +0200 Date: Thu, 09 Jun 2022 17:05:32 +0200 Message-Id: <87czfh27yb.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #12997 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: close 12997 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: -2.3 (--) 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: -3.3 (---) close 12997 quit From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 13:54:38 2022 Received: (at 12997) by debbugs.gnu.org; 14 Jun 2022 17:54:38 +0000 Received: from localhost ([127.0.0.1]:35703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1AkQ-0003pB-5z for submit@debbugs.gnu.org; Tue, 14 Jun 2022 13:54:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1AkO-0003ox-8F for 12997@debbugs.gnu.org; Tue, 14 Jun 2022 13:54:36 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41468) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1AkI-0003p6-S4 for 12997@debbugs.gnu.org; Tue, 14 Jun 2022 13:54:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=kdfbKwcbguCX3DOLcaV8cE2PyvOoPeoM8h7jKXlROqg=; b=m5jz9fxXZK6F5cqwfRfC xpPUmik1rCbf5IsIb8PaYo4d1bxHKzTNtsCEmAN+aJzpMl+LmQBS0RiPlmonj3PvJySukeSaldkOp 48TE9HNNruDk5v/Zi0Zn+pAMnNOp7Gb3iJi00fsAKNakPnoglYJV0cHo+66aifGVT8xPVVA9al+Ya gUoMjPUTcDzWh/KpjL7gRw6JnQovrW9KKrLvHXj+s6+1LU9efr2dayPTLkoNxoQly/PzD7FUYU39A QB+IRPvYm7C4Fk+ZD5vBQArWNwSDMGCmGcMgYsBElPJM+Tj0sVKSyCsIQ9DCNZQkQ0i4sz8nWze8M q93bl21R61qtJQ==; Received: from rgm by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1o1AkI-00006B-LA; Tue, 14 Jun 2022 13:54:30 -0400 From: Glenn Morris To: 12997@debbugs.gnu.org Subject: Re: bug#12997: Add some way to mark autoloads as obsolete References: <87tu9xinlh.fsf@gnus.org> <87edzx27yk.fsf@gnus.org> X-Spook: Suicide attack Fort Hancock cybercash Croatian Airplane X-Ran: B."JE|t-%^5JI4$`Dz%k]^,CntjO:)9tz)#zP6{ (Lars Ingebrigtsen's message of "Thu, 09 Jun 2022 17:05:23 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 12997 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 (---) FTR, I meant "a way to indicate that an autoload cookie is obsolete, and might be removed"; not "a way to autoload an obsolete function". From unknown Fri Jun 20 07:09:30 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 13 Jul 2022 11:24:14 +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