From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Achim Gratz Newsgroups: gmane.emacs.devel Subject: Re: RFE: require and load-path-shadowing Date: Fri, 11 Jan 2013 08:21:36 +0000 (UTC) Message-ID: References: <87sj68eogm.fsf@Rainer.invalid> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1357892517 22667 80.91.229.3 (11 Jan 2013 08:21:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jan 2013 08:21:57 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 11 09:22:14 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 1TtZsT-0007iO-NQ for ged-emacs-devel@m.gmane.org; Fri, 11 Jan 2013 09:22:13 +0100 Original-Received: from localhost ([::1]:33934 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtZsD-0000FG-RL for ged-emacs-devel@m.gmane.org; Fri, 11 Jan 2013 03:21:57 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtZsA-0000FA-3E for emacs-devel@gnu.org; Fri, 11 Jan 2013 03:21:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TtZs8-0006xy-5f for emacs-devel@gnu.org; Fri, 11 Jan 2013 03:21:54 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:43273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtZs7-0006xs-VK for emacs-devel@gnu.org; Fri, 11 Jan 2013 03:21:52 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TtZsK-0007dX-NF for emacs-devel@gnu.org; Fri, 11 Jan 2013 09:22:04 +0100 Original-Received: from 217.10.60.85 ([217.10.60.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Jan 2013 09:22:04 +0100 Original-Received: from Stromeko by 217.10.60.85 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Jan 2013 09:22:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 217.10.60.85 (Mozilla/5.0 (Windows NT 6.1; rv:18.0) Gecko/20100101 Firefox/18.0) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:156208 Archived-At: Glenn Morris gnu.org> writes: > I guess this would be > > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10125 Almost, but not quite. The issue described there would be solved with this enhancement, yes. I'll respond to that bug report later (I must have missed it earlier), but the assumption that the Makefile compiles the files in different order than the package manager is not true. But the Makefile carefully avoids loading anything before starting the compilation and of course that load-path is correctly set up from the very beginning (something package manager simply can't do, short of starting a new Emacs process). It would still fail if anything it needed to re-evaluated was already present with 'emacs -batch -Q' (say already dumped), however - which is why I think this should be solved in a more general fashion. Regards, Achim.