GNU bug report logs - #12997
Add some way to mark autoloads as obsolete

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Mon, 26 Nov 2012 01:48:02 UTC

Severity: wishlist

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12997 in the body.
You can then email your comments to 12997 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#12997; Package emacs. (Mon, 26 Nov 2012 01:48:02 GMT) Full text and rfc822 format available.

Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: Add some way to mark autoloads as obsolete
Date: Sun, 25 Nov 2012 20:46:10 -0500
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.)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12997; Package emacs. (Tue, 10 May 2022 12:23:02 GMT) Full text and rfc822 format available.

Message #6 received at 12997 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 12997 <at> debbugs.gnu.org
Subject: Re: bug#12997: Add some way to mark autoloads as obsolete
Date: Tue, 10 May 2022 14:22:34 +0200
Glenn Morris <rgm <at> gnu.org> 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




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 10 May 2022 12:23:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12997; Package emacs. (Thu, 09 Jun 2022 15:06:01 GMT) Full text and rfc822 format available.

Message #11 received at 12997 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 12997 <at> debbugs.gnu.org
Subject: Re: bug#12997: Add some way to mark autoloads as obsolete
Date: Thu, 09 Jun 2022 17:05:23 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> 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




bug closed, send any further explanations to 12997 <at> debbugs.gnu.org and Glenn Morris <rgm <at> gnu.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 09 Jun 2022 15:06:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12997; Package emacs. (Tue, 14 Jun 2022 17:55:01 GMT) Full text and rfc822 format available.

Message #16 received at 12997 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 12997 <at> debbugs.gnu.org
Subject: Re: bug#12997: Add some way to mark autoloads as obsolete
Date: Tue, 14 Jun 2022 13:54:30 -0400
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".




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 13 Jul 2022 11:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 282 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.