GNU bug report logs - #15523
24.3.50; Package installed in an earlier (stable) version of Emacs errors if -autoloads.el calls an autoloaded function

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Fri, 4 Oct 2013 02:02:02 UTC

Severity: normal

Merged with 15235, 15272

Found in version 24.3.50

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

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 15523 in the body.
You can then email your comments to 15523 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#15523; Package emacs. (Fri, 04 Oct 2013 02:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dmitry Gutov <dgutov <at> yandex.ru>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 04 Oct 2013 02:02:03 GMT) Full text and rfc822 format available.

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

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50;
 Package installed in an earlier (stable) version of Emacs errors if
 -autoloads.el calls an autoloaded function
Date: Fri, 04 Oct 2013 05:01:15 +0300
...from that package.

Example:
https://github.com/nonsequitur/inf-ruby/pull/24#issuecomment-25595099

Or at least that's what I've been able to deduce.

Revision 112403 added load-path modification inside the autoloads file
(not sure why), and 114047 changed `package-activate-1' not to modify
load-path until after the autoloads file is loaded.

So, if a package was installed using Emacs predating 112403 (such as
24.2 and probably 24.3), and its autoloads call a function from it, it
will raise an error.

Not sure how big of a problem that is (autoloads' main purpose is to
defer loading, not to trigger it), but it's surprising for sure.




Forcibly Merged 15235 15272 15523. Request was from Noam Postavsky <npostavs <at> users.sourceforge.net> to control <at> debbugs.gnu.org. (Sun, 26 Jun 2016 16:28:02 GMT) Full text and rfc822 format available.

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

This bug report was last modified 9 years and 19 days ago.

Previous Next


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