From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chong Yidong Subject: bug#10125: 24.0.91; package.el (org): Macros in tar packages & order of byte compilation Date: Fri, 25 Nov 2011 22:07:40 +0800 Message-ID: <87r50w47o3.fsf__6769.59526394985$1322253427$gmane$org@gnu.org> References: <81pqgh90sp.fsf@gmail.com> <81ipm9l9kd.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTwS7-0007Za-6r for emacs-orgmode@gnu.org; Fri, 25 Nov 2011 09:08:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTwS1-0005aN-8d for emacs-orgmode@gnu.org; Fri, 25 Nov 2011 09:08:31 -0500 Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-Message-ID: In-Reply-To: (Glenn Morris's message of "Thu, 24 Nov 2011 14:53:04 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Glenn Morris Cc: 10125@debbugs.gnu.org, stelian.iancu@gmail.com, Jambunathan K Glenn Morris writes: > Glenn Morris wrote: > >> 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. Could problematic packages use an eval-when-compile form to forcibly load the correct version of the required file?