unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: 15523@debbugs.gnu.org
Subject: bug#15523: 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	[thread overview]
Message-ID: <877gdt94lw.fsf@yandex.ru> (raw)

...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.





                 reply	other threads:[~2013-10-04  2:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877gdt94lw.fsf@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=15523@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).