From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stelian Iancu Newsgroups: gmane.emacs.bugs Subject: bug#10125: 24.0.91; package.el (org): Macros in tar packages & order of byte compilation Date: Thu, 24 Nov 2011 23:55:48 +0100 Message-ID: References: <81pqgh90sp.fsf@gmail.com> <81ipm9l9kd.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1322178466 22628 80.91.229.12 (24 Nov 2011 23:47:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 Nov 2011 23:47:46 +0000 (UTC) Cc: 10125@debbugs.gnu.org, Jambunathan K To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 25 00:47:41 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 1RTj11-0007Gi-9O for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Nov 2011 00:47:39 +0100 Original-Received: from localhost ([::1]:46766 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTj10-0003Ar-Jd for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Nov 2011 18:47:38 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:56157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTizw-0001M2-W0 for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2011 18:46:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTizw-0005Bt-6t for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2011 18:46:32 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36125) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTizt-0005BN-RU; Thu, 24 Nov 2011 18:46:29 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RTj1P-0003uL-5w; Thu, 24 Nov 2011 18:48:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stelian Iancu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Date: Thu, 24 Nov 2011 23:48:03 +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.132217846914992 (code B ref 10125); Thu, 24 Nov 2011 23:48:03 +0000 Original-Received: (at 10125) by debbugs.gnu.org; 24 Nov 2011 23:47:49 +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 1RTj18-0003tj-TE for submit@debbugs.gnu.org; Thu, 24 Nov 2011 18:47:47 -0500 Original-Received: from mail-ey0-f172.google.com ([209.85.215.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RTiEi-0002i1-Np for 10125@debbugs.gnu.org; Thu, 24 Nov 2011 17:57:45 -0500 Original-Received: by eabm6 with SMTP id m6so477298eab.3 for <10125@debbugs.gnu.org>; Thu, 24 Nov 2011 14:56:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=LqVthzAUNw4ksCynZ9Qz/fBS8X0nGmblx2cvxlBsoiA=; b=fgGy8a27GSXHDbxwjmvzP8HO6IDXaT8ks4Ulsm21qtc9rvyB9UcQxaZd1yKfnGaRHD Kx7POxx0NLsHu/Mx0LVNV4pS1/JeJvtlMBccZsnT8oaNwUazkK62H3DJTeV+bQI0jCol L7sDkSZUvz8j4FpJE77NfkxPZ/FHudpcGoqlQ= Original-Received: by 10.213.8.205 with SMTP id i13mr2145590ebi.39.1322175370500; Thu, 24 Nov 2011 14:56:10 -0800 (PST) Original-Received: by 10.213.20.17 with HTTP; Thu, 24 Nov 2011 14:55:48 -0800 (PST) In-Reply-To: X-Mailman-Approved-At: Thu, 24 Nov 2011 18:47:45 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 24 Nov 2011 18:48:03 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Thu, 24 Nov 2011 18:47:36 -0500 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:54288 Archived-At: On Thu, Nov 24, 2011 at 20:09, Glenn Morris wrote: > Jambunathan K wrote: > >> When compiling with package manager, the compilation happens from within >> a running Emacs session and very likely the "old" Org files are already >> loaded in to the runtime "inadvertently" by the user either by looking >> at the org agenda for the day or may be by just viewing an Org file or >> by the plain old (require 'org-whatever) out of habit in .emacs. > > There's your problem. The only way to reliably compile, especially > something where an old version might already be loaded, is to use a > 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. > > cc-mode tries to have some voodoo to get around this, but please, please > don't go down that road. > > I guess nobody ever expected the package manager to be used to load a > different version of something that was already in Emacs. > I am sorry to be asking a stupid question, but then, wouldn't restart Emacs fix the issue and have the new compiled org files loaded? In my case, that didn't seem to happen either (even though load-library showed org-compat to be from ELPA).