From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: bug#10125: 24.0.91; package.el (org): Macros in tar packages & order of byte compilation Date: Fri, 25 Nov 2011 09:01:16 +0530 Message-ID: <81lir4anej.fsf@gmail.com> 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]:45590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTmWa-00062E-Sd for emacs-orgmode@gnu.org; Thu, 24 Nov 2011 22:32:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTmWZ-0006ko-Tl for emacs-orgmode@gnu.org; Thu, 24 Nov 2011 22:32:28 -0500 Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-Message-ID: In-Reply-To: (Stelian Iancu's message of "Thu, 24 Nov 2011 23:55:48 +0100") 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: Stelian Iancu Cc: 10125@debbugs.gnu.org Stelian > 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). locate-library doesn't show what is *already* loaded. It will only shows what *will* be loaded. The most important thing during package compilation is this: Make sure there is no running instance of Org in any form. If this condition is not satisfied then to-be-installed files will be compiled with old definitions of macro. This is not what we want. We want the new files to be compiled with new macro definitions. Do things work for you when you start a *minimal* Emacs and *then* do M-x list-packages -> install? You don't have to apply Glenn's patch to get the desired behaviour (I am assuming here that you are probably not that comfortable working with patches). Jambunathan K. --