From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: package.el can't install a circular depend and it should be able to. Date: Tue, 15 Jan 2013 10:24:01 +0900 Message-ID: <871udn8ci6.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87fw2h94mg.fsf@ferrier.me.uk> <8738yh10u9.fsf@fleche.redhat.com> <877gnfmo83.fsf@fleche.redhat.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1358213055 4232 80.91.229.3 (15 Jan 2013 01:24:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jan 2013 01:24:15 +0000 (UTC) Cc: Stefan Monnier , Nic Ferrier , emacs-devel@gnu.org To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 15 02:24:32 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TuvGR-0004Ap-FL for ged-emacs-devel@m.gmane.org; Tue, 15 Jan 2013 02:24:31 +0100 Original-Received: from localhost ([::1]:59603 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuvGB-0006f6-1L for ged-emacs-devel@m.gmane.org; Mon, 14 Jan 2013 20:24:15 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuvG7-0006f0-A6 for emacs-devel@gnu.org; Mon, 14 Jan 2013 20:24:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TuvG6-0001QX-DG for emacs-devel@gnu.org; Mon, 14 Jan 2013 20:24:11 -0500 Original-Received: from mgmt2.sk.tsukuba.ac.jp ([130.158.97.224]:58010) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuvG6-0001Cg-3T for emacs-devel@gnu.org; Mon, 14 Jan 2013 20:24:10 -0500 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt2.sk.tsukuba.ac.jp (Postfix) with ESMTP id 724F2970900; Tue, 15 Jan 2013 10:24:01 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 387CC1A27F7; Tue, 15 Jan 2013 10:24:01 +0900 (JST) In-Reply-To: <877gnfmo83.fsf@fleche.redhat.com> X-Mailer: VM undefined under 21.5 (beta32) "habanero" b0d40183ac79 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 130.158.97.224 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:156361 Archived-At: Tom Tromey writes: > >>>>> "Stefan" == Stefan Monnier writes: > > Tom> It was intended to do a topological sort of the graph and activate > Tom> packages from the bottom up. If this isn't working then there is a bug. > > Stefan> Do we actually need such a topological sort? I mean the only > Stefan> place where ordering might matter is when loading the autoloads > Stefan> file, AFAICT (for all other steps like download, unpack, compile > Stefan> the order in which packages are processed doesn't matter). > > I thought byte-compiling one package could require that package's > dependencies, say via eval-when-compile. Yes. But this only matters for macros (and defsubsts). So if you have downloaded those dependencies and installed their (uncompiled) Lisp where the installing Emacs can find them, you're gold. What you need is a list of dependencies, and to install all .els. It's possible to optimize a bit (eg, in most cases XEmacs is able to pre- compile autoloads and such regardless of dependencies, which speeds up "make World" somewhat). 15-years-of-XEmacs-experience-says-so-ly y'rs, Steve