From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: (Windows:) cmdproxy non-existent on bootstrapping after make realclean Date: 22 Mar 2004 07:49:22 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20040321190023.5D7E.LEKTU@mi.madritel.es> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1079934779 20946 80.91.224.253 (22 Mar 2004 05:52:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 Mar 2004 05:52:59 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Mar 22 06:52:55 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B5IMp-0002LS-00 for ; Mon, 22 Mar 2004 06:52:55 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B5IMn-0002r6-00 for ; Mon, 22 Mar 2004 06:52:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B5IHl-0002om-1H for emacs-devel@quimby.gnus.org; Mon, 22 Mar 2004 00:47:41 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B5IHg-0002of-Gw for emacs-devel@gnu.org; Mon, 22 Mar 2004 00:47:36 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B5IH9-0002iD-Vz for emacs-devel@gnu.org; Mon, 22 Mar 2004 00:47:35 -0500 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.30) id 1B5IH9-0002hv-9z; Mon, 22 Mar 2004 00:47:03 -0500 Original-To: Juanma Barranquero In-reply-to: <20040321190023.5D7E.LEKTU@mi.madritel.es> (message from Juanma Barranquero on Sun, 21 Mar 2004 19:01:46 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:20709 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20709 > Date: Sun, 21 Mar 2004 19:01:46 +0100 > From: Juanma Barranquero > > The problem does not happen on the first bootstrapping (because there's > no SHELL variable on the registry), on subsequent bootstrapping (because > bin/*.* is not deleted), or on normal compile (because the .el files are > not regenerated and bin/cmdproxy.exe exists anyway). It only happens in > bootstrappings after realclean. > > As far as I can see, it's neither a problem in the Gnus files (they're > not doing anything forbidden), nor in `shell-command-to-string' (works as > defined). > > After pondering it a bit, I'm not sure what to do: Is it true that the variables in the registry are actually pushed into the environment of the running Emacs, so that `getenv' sees them? If so, can we override these variables with real environment variables set either by the shell or by Make? > - Modifying the makefiles to add "--eval (setq shell-file-name > %COMSPEC%)" to compilation commands would work (after suitably escaping > \'s in COMSPEC), but looks like a hack. I don't think this is a hack no more than the whole Makefile system for building Emacs on Windows, which is already full of worse tricks in order to support the different makes of shells, compilers, and Make varieties.