From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glenn Morris Subject: bug#10125: 24.0.91; package.el (org): Macros in tar packages & order of byte compilation Date: Fri, 25 Nov 2011 14:15:45 -0500 Message-ID: <4vcq8xbby.fsf@fencepost.gnu.org> References: <81pqgh90sp.fsf@gmail.com> <81ipm9l9kd.fsf@gmail.com> <87r50w47o3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:46573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RU1G4-0007Ea-Nz for emacs-orgmode@gnu.org; Fri, 25 Nov 2011 14:16:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RU1G3-0001Yt-KB for emacs-orgmode@gnu.org; Fri, 25 Nov 2011 14:16:24 -0500 Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-Message-ID: In-Reply-To: (Stefan Monnier's message of "Fri, 25 Nov 2011 09:57:33 -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: Stefan Monnier Cc: 10125@debbugs.gnu.org, Chong Yidong , stelian.iancu@gmail.com, Jambunathan K Stefan Monnier wrote: > 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. That will probably work fine most of the time, but what if a package is restructed so that the feature names are different? Or a feature is removed? Simply starting a fresh Emacs seems fine to me. Though there is the issue of should it be a `-Q' one or not. BTW, I was also thinking that rather than simply byte-recompiling, package.el ought to check for a Makefile in the package directory, and if it finds one, call make to build the package according to the rules the package has defined. Though you would have to trust the package not to do anything nasty.