From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#10125: 24.0.91; package.el (org): Macros in tar packages & order of byte compilation Date: Fri, 25 Nov 2011 09:57:33 -0500 Message-ID: References: <81pqgh90sp.fsf@gmail.com> <81ipm9l9kd.fsf@gmail.com> <87r50w47o3.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1322233125 2513 80.91.229.12 (25 Nov 2011 14:58:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 25 Nov 2011 14:58:45 +0000 (UTC) Cc: 10125@debbugs.gnu.org, Jambunathan K , stelian.iancu@gmail.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 25 15:58:40 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RTxEd-0002v7-EP for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Nov 2011 15:58:39 +0100 Original-Received: from localhost ([::1]:39276 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTxEc-0005TW-LS for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Nov 2011 09:58:38 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:52783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTxET-000525-Mn for bug-gnu-emacs@gnu.org; Fri, 25 Nov 2011 09:58:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTxES-00089o-Mw for bug-gnu-emacs@gnu.org; Fri, 25 Nov 2011 09:58:29 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTxEQ-00081M-56; Fri, 25 Nov 2011 09:58:26 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RTxFy-0001BB-QE; Fri, 25 Nov 2011 10:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Date: Fri, 25 Nov 2011 15:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10125 X-GNU-PR-Package: emacs,org-mode X-GNU-PR-Keywords: Original-Received: via spool by 10125-submit@debbugs.gnu.org id=B10125.13222331554447 (code B ref 10125); Fri, 25 Nov 2011 15:00:02 +0000 Original-Received: (at 10125) by debbugs.gnu.org; 25 Nov 2011 14:59:15 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RTxFD-00019f-79 for submit@debbugs.gnu.org; Fri, 25 Nov 2011 09:59:15 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RTxFB-00019Z-Rw for 10125@debbugs.gnu.org; Fri, 25 Nov 2011 09:59:14 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id pAPEvYH5003459; Fri, 25 Nov 2011 09:57:34 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id F33C058D75; Fri, 25 Nov 2011 09:57:33 -0500 (EST) In-Reply-To: <87r50w47o3.fsf@gnu.org> (Chong Yidong's message of "Fri, 25 Nov 2011 22:07:40 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4052=0 X-NAI-Spam-Version: 2.2.0.9286 : core <4052> : streams <704705> : uri <1015408> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 25 Nov 2011 10:00:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:54308 Archived-At: >>> fresh Emacs instance. There's no reason the "package manager" could not >>> spawn a separate Emacs in batch-mode as a sub-job to do the compilation. >> Very lightly tested version: > This uses the Emacs executable on the exec path, which might not be the > correct one. > I'm wary of making such a fundamental change to package.el without first > exploring possible package-specific work-arounds. Yes, this should not a candidate for 24.1. > Could problematic packages use an eval-when-compile form to forcibly > load the correct version of the required file? I think it's a sufficiently general problem that we might want to provide some special support for a good solution (tho again, I doubt there's something simple&safe enough to be a candidate for 24.1). E.g. we could add to bytecomp.el the ability to force `require' to reload a package if it's not already loaded from the file that locate-library returns. Stefan