From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs 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 Message-ID: <877gdt94lw.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1380852134 27738 80.91.229.3 (4 Oct 2013 02:02:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Oct 2013 02:02:14 +0000 (UTC) To: 15523@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 04 04:02:18 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VRuie-0001ue-S8 for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Oct 2013 04:02:17 +0200 Original-Received: from localhost ([::1]:45917 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRuie-0001P1-Cc for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Oct 2013 22:02:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51153) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRuiW-0001Oo-MH for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 22:02:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRuiR-0007iY-BG for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 22:02:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44494) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRuiR-0007iT-7v for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 22:02:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VRuiQ-00076b-ND for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 22:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Oct 2013 02:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15523 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.138085210527285 (code B ref -1); Fri, 04 Oct 2013 02:02:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Oct 2013 02:01:45 +0000 Original-Received: from localhost ([127.0.0.1]:52787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VRui7-000760-9O for submit@debbugs.gnu.org; Thu, 03 Oct 2013 22:01:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49380) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VRui4-00075r-KI for submit@debbugs.gnu.org; Thu, 03 Oct 2013 22:01:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRuhz-0007ch-3C for submit@debbugs.gnu.org; Thu, 03 Oct 2013 22:01:40 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:37149) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRuhz-0007cd-0N for submit@debbugs.gnu.org; Thu, 03 Oct 2013 22:01:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRuht-0001NL-J2 for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 22:01:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRuho-0007Wb-8e for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 22:01:29 -0400 Original-Received: from mail-ea0-x22b.google.com ([2a00:1450:4013:c01::22b]:40179) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRuho-0007U8-1s for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2013 22:01:24 -0400 Original-Received: by mail-ea0-f171.google.com with SMTP id n15so1480031ead.16 for ; Thu, 03 Oct 2013 19:01:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version:content-type; bh=WYZr/NvrS//xkrwKWodgGBhrs2yXQhT3JD05XOkmsbY=; b=hR3dRHYDK4DUoqivAjrZHrtFxYoORRXPOUFZ9/58d1CaSsSIQ/9d2Tp6zEVGiX+9H9 7RN91ktrIR1FMdyyDpd1vNLCfxxiSfBvosYxJrCEEbYatdRElM1pM6hD/cWJFoum0sgl bOSPq1VzxMynlXdxFhEpAaF4jQ8POm9ewNiKuhBN/gjiJ8o+9pLWu5r1poqRRSW1gvxM kxIeAX6EokhOWDtds2v5wTlzGM4skzDBekX1jomUE3HxL7ZE5qy6cV2oOiaMzHpR+CU+ rYDMCmSPlmrSmXq+Cj9Br6mhRdXnneRtsalSc4vwbzVhlu0lOwU/lqDKwwMe+oJp+XCO 0JnA== X-Received: by 10.14.184.132 with SMTP id s4mr17718252eem.13.1380852082821; Thu, 03 Oct 2013 19:01:22 -0700 (PDT) Original-Received: from axl (93-113-74.netrun.cytanet.com.cy. [93.109.113.74]) by mx.google.com with ESMTPSA id b45sm22157612eef.4.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 03 Oct 2013 19:01:22 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:78909 Archived-At: ...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.